mirror of
https://github.com/nix-community/impermanence
synced 2024-11-10 05:44:17 +00:00
nixos, home-manager: Handle whitespace in persistentStoragePaths
This commit is contained in:
parent
13ff4509fc
commit
2472286e92
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ in
|
|||
'';
|
||||
|
||||
mkDirCreationScriptForPath = persistentStoragePath: {
|
||||
name = "createDirsIn-${replaceStrings [ "/" "." ] [ "-" "" ] persistentStoragePath}";
|
||||
name = "createDirsIn-${replaceStrings [ "/" "." " " ] [ "-" "" "" ] persistentStoragePath}";
|
||||
value =
|
||||
dag.entryAfter
|
||||
[ "writeBoundary" ]
|
||||
|
|
|
@ -93,7 +93,7 @@ in
|
|||
|
||||
mkDirCreationScriptForPath = persistentStoragePath:
|
||||
nameValuePair
|
||||
"createDirsIn-${replaceStrings [ "/" "." ] [ "-" "" ] persistentStoragePath}"
|
||||
"createDirsIn-${replaceStrings [ "/" "." " " ] [ "-" "" "" ] persistentStoragePath}"
|
||||
(noDepEntry (concatMapStrings
|
||||
(mkDirCreationSnippet persistentStoragePath)
|
||||
cfg.${persistentStoragePath}.directories
|
||||
|
|
Loading…
Reference in a new issue