Prevent double copying and work around an apparent Nix bug

Fixes #60.
This commit is contained in:
Eelco Dolstra 2023-10-04 12:49:46 +02:00
parent 4f910c9827
commit 5a16547d46

View file

@ -149,7 +149,7 @@ let
subdir = if key == lockFile.root then "" else node.locked.dir or ""; subdir = if key == lockFile.root then "" else node.locked.dir or "";
outPath = sourceInfo + ((if subdir == "" then "" else "/") + subdir); outPath = (builtins.storePath sourceInfo) + ((if subdir == "" then "" else "/") + subdir);
flake = import (outPath + "/flake.nix"); flake = import (outPath + "/flake.nix");