From e2aa78b599ab035176dabe3437ef5cc12ea28570 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Sat, 18 Sep 2021 10:45:51 -0500 Subject: [PATCH] fix(build): #546 new string context `projectSrc` (flakes) - `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 6abf7f7de..d94a3dd50 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}"