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.
This commit is contained in:
Tom Hubrecht 2023-05-23 11:11:27 +02:00
parent 5bc379c1d1
commit 857c1bb88e

View file

@ -33,7 +33,7 @@ rec {
mkRel /home/test/ "file.txt" mkRel /home/test/ "file.txt"
=> "/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)); compose = f: g: (x: g (f x));
} }