From 83eaba357f466346e2b82099c630b24d462ff60c Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 11 Apr 2025 18:14:51 -0400 Subject: [PATCH] Fix bug where it used the path in the option name rather than the target value inside the option. --- nix/configuration/util/install_files/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/configuration/util/install_files/default.nix b/nix/configuration/util/install_files/default.nix index 18962ed..b9340aa 100644 --- a/nix/configuration/util/install_files/default.nix +++ b/nix/configuration/util/install_files/default.nix @@ -126,7 +126,7 @@ in let target_config = config.me.install.file."${target}"; source = lib.strings.escapeShellArg "${target_config.source}"; - destination = lib.strings.escapeShellArg target; + destination = lib.strings.escapeShellArg "${target_config.target}"; mode = lib.strings.escapeShellArg "${target_config.mode}"; in # $DRY_RUN_CMD ${pkgs.toyboy}/bin/install $VERBOSE_ARG -D -m ${mode} ${source} ${destination}