From 857c1bb88e6225f1f6d1d134f02f5c4f769358ab Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 23 May 2023 11:11:27 +0200 Subject: [PATCH] lib: Fix mkRel When using strings instead of paths, the required files are not included in the closure and thus not sent to the nodes. --- lib/trivial.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trivial.nix b/lib/trivial.nix index f9952d0..1ba84d5 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -33,7 +33,7 @@ rec { mkRel /home/test/ "file.txt" => "/home/test/file.txt" */ - mkRel = path: file: builtins.toString (path + "/${file}"); + mkRel = path: file: path + "/${file}"; compose = f: g: (x: g (f x)); }