From 5a16547d46553d7bdd1dfc2cf418f5f7d236f6ad Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Oct 2023 12:49:46 +0200 Subject: [PATCH] Prevent double copying and work around an apparent Nix bug Fixes #60. --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 41cfdad..1519ff1 100644 --- a/default.nix +++ b/default.nix @@ -149,7 +149,7 @@ let 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");