about summary refs log tree commit diff
path: root/lib/trivial.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/trivial.nix')
-rw-r--r--lib/trivial.nix16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/trivial.nix b/lib/trivial.nix
index 0b9b6bd910f0e..18616a189c269 100644
--- a/lib/trivial.nix
+++ b/lib/trivial.nix
@@ -13,22 +13,6 @@ rec {
     # The value to return
     x: x;
 
-  /* 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;
-
   /* The constant function
 
      Ignores the second argument. If called with only one argument,