From c0384c43821474d28af1d9696ceb473a0d769292 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 31 Oct 2024 16:49:01 +0100 Subject: Switch back to flakes This reverts commits: - 66e56cb0e1c95202133733c0812b794171dc73c5. - 3fae7d35d9b32ab3c4f7293c418167a52aff8717. - 417a1ce6481adfc713d8d0d6ad03e211a3d0eb22. - 6b4469a98d7b2d88a3442b1051174000538199f0. --- lib/default.nix | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/default.nix (limited to 'lib') 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; -} -- cgit 1.4.1