Fix bug where it used the path in the option name rather than the target value inside the option.

This commit is contained in:
Tom Alexander 2025-04-11 18:14:51 -04:00
parent 6284ce8d86
commit 83eaba357f
No known key found for this signature in database
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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}