diff options
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/default.nix b/lib/default.nix deleted file mode 100644 index 2cbaf55c..00000000 --- a/lib/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ pkgs }: -with builtins; -let - inherit (pkgs) lib; -in -rec { - importPathStore = p: "${append ../. "/${p}"}"; - - mkPathable = s: toString ( - if lib.path.subpath.isValid s - then (lib.path.append ../. s) - else s - ); - - kvPath = k: v: "${k}=${v}"; - - fromSources = sources: - lib.attrsets.mapAttrs - (k: v: v.outPath) - sources; - - mkNixPath = sources: lib.attrsets.mapAttrsToList - (k: v: kvPath k (mkPathable v)) - sources; -} |