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 in
'' ''
( (
URL=${url} URL=${lib.escapeShellArg url}
PATH=${path} FILEPATH=${lib.escapeShellArg path}
DIRNAME=$(dirname ${path}) DIRNAME=$(dirname ${lib.escapeShellArg path})
mkdir -p "$DIRNAME" mkdir -p "$DIRNAME"
${(fetchScript path value).${value.type}} ${(fetchScript path value).${value.type}}
) )