From 98944ccabce72653ccf7c0dc2128d0fbabb85200 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Sat, 18 Sep 2021 10:45:51 -0500 Subject: [PATCH] fix(build): #546 string context on `projectSrc` - `self.sourceInfo.outPath` brings a string context with it - Drop it for this pattern to work - Idempotent noop in non-flake scenario fixes: #577 (has more context) --- src/args/project-path/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args/project-path/default.nix b/src/args/project-path/default.nix index 6abf7f7d..d94a3dd5 100644 --- a/src/args/project-path/default.nix +++ b/src/args/project-path/default.nix @@ -7,6 +7,6 @@ if hasPrefix "/" rel then (builtins.path { name = if rel == "/" then "src" else builtins.baseNameOf rel; - path = projectSrc + rel; + path = ((builtins.unsafeDiscardStringContext projectSrc) + rel); }) else abort "projectPath arguments must start with: /, currently it is: ${rel}"