Summary Files Commits Branches @commit @diff @stats
path: root / autoconfig.nix
diff options
context:
space:
mode:
1 files changed, 7 insertions, 4 deletions
-rw-r--r--autoconfig.nix11
diff --git a/autoconfig.nix b/autoconfig.nix
index 2872be6..350f2bf 100644
--- a/autoconfig.nix
+++ b/autoconfig.nix
@@ -4,10 +4,13 @@ let
inherit (nixpkgs) lib;
custom-packages = system:
- lib.mapAttrs
- (name: _:
- nixpkgs.legacyPackages.${system}.callPackage ./packages/${name} { })
- (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./packages));
+ let
+ packages = lib.mapAttrs
+ (name: _:
+ nixpkgs.legacyPackages.${system}.callPackage ./packages/${name} packages)
+ (lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./packages));
+ in
+ packages;
in {
configurations =
lib.mapAttrs