add missing 'toString' in image builder

This commit is contained in:
2022-08-01 23:11:16 -07:00
parent 0ec48a9145
commit 5c2f33a550

View File

@@ -112,7 +112,7 @@ in
populateCommands =
let
closureInfo = buildPackages.closureInfo { rootPaths = config.system.build.toplevel; };
extraRelPaths = builtins.map (p: relPath nixFs.mountPoint m) cfg.extraDirectories;
extraRelPaths = builtins.toString (builtins.map (p: relPath nixFs.mountPoint p) cfg.extraDirectories);
in
''
mkdir -p ./${storeRelPath} ${extraRelPaths}