image: fix issue that persist/ paths aren't created
This commit is contained in:
parent
d29e69e18a
commit
b60a7ed7d5
|
@ -112,7 +112,7 @@ in
|
|||
populateCommands =
|
||||
let
|
||||
closureInfo = buildPackages.closureInfo { rootPaths = config.system.build.toplevel; };
|
||||
extraRelPaths = builtins.toString (builtins.map (p: relPath nixFs.mountPoint p) cfg.extraDirectories);
|
||||
extraRelPaths = builtins.toString (builtins.map (p: "./" + builtins.toString(relPath nixFs.mountPoint p)) cfg.extraDirectories);
|
||||
in
|
||||
''
|
||||
mkdir -p ./${storeRelPath} ${extraRelPaths}
|
||||
|
|
Loading…
Reference in New Issue
Block a user