summaryrefslogtreecommitdiff
path: root/utils/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-09-27 23:06:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-09-27 23:06:10 +0200
commit3c33dd66ea59e9b01b05c515c22df11bcaf94194 (patch)
tree2894ae9d0486bbb4c4657f67820f247a1052558f /utils/default.nix
parentecf32ed77857e76322394cc53aa37e4d971ddd9d (diff)
downloadnixos-3c33dd66ea59e9b01b05c515c22df11bcaf94194.tar
nixos-3c33dd66ea59e9b01b05c515c22df11bcaf94194.tar.gz
nixos-3c33dd66ea59e9b01b05c515c22df11bcaf94194.tar.bz2
nixos-3c33dd66ea59e9b01b05c515c22df11bcaf94194.tar.xz
nixos-3c33dd66ea59e9b01b05c515c22df11bcaf94194.zip
vidhar/sif: build-server/build-client
Diffstat (limited to 'utils/default.nix')
-rw-r--r--utils/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/default.nix b/utils/default.nix
index 48add212..75d886a3 100644
--- a/utils/default.nix
+++ b/utils/default.nix
@@ -2,7 +2,7 @@
2rec { 2rec {
3 inherit (builtins) readDir; 3 inherit (builtins) readDir;
4 inherit (lib) filterAttrs hasSuffix removeSuffix mapAttrs' nameValuePair isFunction functionArgs setFunctionArgs id; 4 inherit (lib) filterAttrs hasSuffix removeSuffix mapAttrs' nameValuePair isFunction functionArgs setFunctionArgs id;
5 mapFilterAttrs = seive: f: attrs: filterAttrs seive (mapAttrs' f attrs); 5 mapFilterAttrs = sieve: f: attrs: filterAttrs sieve (mapAttrs' f attrs);
6 nixImport = { dir, _import ? name: _base: import "${toString dir}/${name}" }: 6 nixImport = { dir, _import ? name: _base: import "${toString dir}/${name}" }:
7 mapFilterAttrs 7 mapFilterAttrs
8 (_: v: v != null) 8 (_: v: v != null)