forked from DGNum/infrastructure
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:
parent
5bc379c1d1
commit
857c1bb88e
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue