refactor: move package definition to nix/package.nix

This commit is contained in:
Mohammad Rafiq 2025-06-28 14:34:44 +08:00
parent 8f87951156
commit 3b14c37a52
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
pkgs = legacyPackages.${system};
in
{
default = pkgs.callPackage ./default.nix { };
default = pkgs.callPackage ./nix/package.nix { };
}
);
};

View file

@ -5,7 +5,7 @@ let
in
stdenv.mkDerivation {
inherit name version;
src = ./src;
src = ../src;
installPhase = ''
cp -r . $out
'';