summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-04-05 14:58:10 -0400
committerKleidi Bujari <mail@4kb.net>2025-04-05 14:58:10 -0400
commit179bf31d5edc90c826dacf0b06b149469d8d14fa (patch)
tree28a07fad01cce7627a2f332094e4a5261c8e5430 /lib
parentbf4d4b2a330c03373f75942b9b1723a67f03a709 (diff)
downloaddepot-179bf31d5edc90c826dacf0b06b149469d8d14fa.tar.gz
depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.tar.bz2
depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.zip
automate hosts gen and bump nixpkgs
Diffstat (limited to 'lib')
-rw-r--r--lib/depot-tools.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/depot-tools.nix b/lib/depot-tools.nix
index 448055a..1a16df9 100644
--- a/lib/depot-tools.nix
+++ b/lib/depot-tools.nix
@@ -21,7 +21,7 @@ let
;
importDir =
- path:
+ path: fn:
let
entries = readDir path;
@@ -51,8 +51,10 @@ let
}
)
entries) [ "__junk" ];
+
+ combined = dirPaths // nixPaths;
in
- dirPaths // nixPaths;
+ fn combined;
# Memoize the args per system
systemArgs = genAttrs systems (