summary refs log tree commit diff stats
path: root/lib/default.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-10-31 16:49:01 +0100
committerAlan Pearce2024-11-02 13:39:34 +0100
commitc0384c43821474d28af1d9696ceb473a0d769292 (patch)
tree4fed9f5175f02d36e0e58c4e93469c3705b085de /lib/default.nix
parent365c0df92f6e8c59a0e0c38eabae1ba6f35d129d (diff)
downloadnixfiles-main.tar.lz
nixfiles-main.tar.zst
nixfiles-main.zip
Switch back to flakes HEAD main
This reverts commits:
- 66e56cb0e1c95202133733c0812b794171dc73c5.
- 3fae7d35d9b32ab3c4f7293c418167a52aff8717.
- 417a1ce6481adfc713d8d0d6ad03e211a3d0eb22.
- 6b4469a98d7b2d88a3442b1051174000538199f0.
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix25
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;
-}