diff options
Diffstat (limited to 'templates/standard/default.nix')
| -rw-r--r-- | templates/standard/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/standard/default.nix b/templates/standard/default.nix index b782208..f2b2028 100644 --- a/templates/standard/default.nix +++ b/templates/standard/default.nix @@ -7,6 +7,15 @@ nixpkgs ? <nixpkgs>, system ? builtins.currentSystem, }: -{ - inherit (pkgs) hello; -} + +let + inherit (pkgs) lib; + + callPackage = lib.callPackageWith (pkgs // pkgs'); + + pkgs' = { + hello = callPackage ./nix/package.nix { }; + }; +in + +pkgs' |
