diff options
author | Alan Pearce | 2024-10-31 16:49:01 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-02 13:39:34 +0100 |
commit | c0384c43821474d28af1d9696ceb473a0d769292 (patch) | |
tree | 4fed9f5175f02d36e0e58c4e93469c3705b085de /lib | |
parent | 365c0df92f6e8c59a0e0c38eabae1ba6f35d129d (diff) | |
download | nixfiles-c0384c43821474d28af1d9696ceb473a0d769292.tar.lz nixfiles-c0384c43821474d28af1d9696ceb473a0d769292.tar.zst nixfiles-c0384c43821474d28af1d9696ceb473a0d769292.zip |
Switch back to flakes
This reverts commits: - 66e56cb0e1c95202133733c0812b794171dc73c5. - 3fae7d35d9b32ab3c4f7293c418167a52aff8717. - 417a1ce6481adfc713d8d0d6ad03e211a3d0eb22. - 6b4469a98d7b2d88a3442b1051174000538199f0.
Diffstat (limited to 'lib')
-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; -} |