home-manager/files/mutable-files: fix fetch script

This commit is contained in:
Gabriel Arazas 2024-03-01 18:13:26 +08:00
parent 0d78584b98
commit 0bd1399508
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -169,9 +169,9 @@ in
in
''
(
URL=${url}
PATH=${path}
DIRNAME=$(dirname ${path})
URL=${lib.escapeShellArg url}
FILEPATH=${lib.escapeShellArg path}
DIRNAME=$(dirname ${lib.escapeShellArg path})
mkdir -p "$DIRNAME"
${(fetchScript path value).${value.type}}
)