diff options
1 files changed, 2 insertions, 1 deletions
| -rw-r--r-- | autoconfig.nix | 3 |
diff --git a/autoconfig.nix b/autoconfig.nix index 6df931f..f092bd7 100644 --- a/autoconfig.nix +++ b/autoconfig.nix @@ -5,9 +5,10 @@ let custom-packages = system: let + pkgs' = import nixpkgs.legacyPackages.${system}.path { inherit system; config.allowUnfree = true; }; packages = lib.mapAttrs (name: _: - nixpkgs.legacyPackages.${system}.callPackage ./packages/${name} packages) + pkgs'.callPackage ./packages/${name} (packages // { inherit inputs; })) (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./packages)); in packages; |
