From f28dd0b6a2d0343bb99c218fffe73feca86d9ade Mon Sep 17 00:00:00 2001 From: Makesesama Date: Mon, 12 May 2025 11:18:04 +0200 Subject: [PATCH] move nix --- flake.nix | 4 ++-- derivation.nix => nix/derivation.nix | 2 +- shell.nix => nix/shell.nix | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename derivation.nix => nix/derivation.nix (98%) rename shell.nix => nix/shell.nix (100%) 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