From 0bd1399508c30086d1f2672e3386dc2437757254 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 1 Mar 2024 18:13:26 +0800 Subject: [PATCH] home-manager/files/mutable-files: fix fetch script --- modules/home-manager/files/mutable-files.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/files/mutable-files.nix b/modules/home-manager/files/mutable-files.nix index a4d0a399..039bd6c0 100644 --- a/modules/home-manager/files/mutable-files.nix +++ b/modules/home-manager/files/mutable-files.nix @@ -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}} )