about summary refs log tree commit diff
path: root/lib/flakes.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/flakes.nix')
-rw-r--r--lib/flakes.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/flakes.nix b/lib/flakes.nix
deleted file mode 100644
index 4dc027b6c9b3e..0000000000000
--- a/lib/flakes.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ lib }:
-
-rec {
-
-  /* imports a flake.nix without acknowledging its lock file, useful for
-    referencing subflakes from a parent flake. The second argument allows
-    specifying the inputs of this flake.
-
-    Example:
-      callLocklessFlake {
-        path = ./directoryContainingFlake;
-        inputs = { inherit nixpkgs; };
-      }
-  */
-  callLocklessFlake = { path, inputs ? { } }:
-    let
-      self = { outPath = path; } //
-        ((import (path + "/flake.nix")).outputs (inputs // { self = self; }));
-    in
-    self;
-
-}