home-manager: Fix unquoted path when creating directories

This commit is contained in:
Olmo Kramer 2022-01-03 19:57:15 +01:00
parent 29d781b47b
commit 46aa52de9f
No known key found for this signature in database
GPG key ID: BE09591F4AB66337

View file

@ -344,7 +344,7 @@ in
(persistentStoragePath:
concatMapStrings
(targetFilePath: ''
mkdir -p ${concatPaths [ persistentStoragePath (dirOf targetFilePath) ]}
mkdir -p ${escapeShellArg (concatPaths [ persistentStoragePath (dirOf targetFilePath) ])}
'')
cfg.${persistentStoragePath}.files)
persistentStoragePaths);