diff --git a/flake.nix b/flake.nix index b238881..3efdf92 100644 --- a/flake.nix +++ b/flake.nix @@ -31,8 +31,8 @@ in { formatter = pkgs.nixfmt-rfc-style; - devShells.default = pkgs.callPackage ./shell.nix { inherit pkgs; }; - packages.default = pkgs.callPackage ./derivation.nix { inherit (pkgs) lib python3Packages; }; + devShells.default = pkgs.callPackage ./nix/shell.nix { inherit pkgs; }; + packages.default = pkgs.callPackage ./nix/derivation.nix { inherit (pkgs) lib python3Packages; }; apps.default = { type = "app"; program = "${self.packages.${system}.default}/bin/bar"; diff --git a/derivation.nix b/nix/derivation.nix similarity index 98% rename from derivation.nix rename to nix/derivation.nix index 1baa3fc..d9bbd35 100644 --- a/derivation.nix +++ b/nix/derivation.nix @@ -20,7 +20,7 @@ python3Packages.buildPythonApplication { version = "0.0.1"; pyproject = true; - src = ./.; + src = ../.; nativeBuildInputs = [ wrapGAppsHook3 diff --git a/shell.nix b/nix/shell.nix similarity index 100% rename from shell.nix rename to nix/shell.nix