Open JackKelly-Bellroy opened 3 years ago
It's prepending because --tarbal-url
is only handled as the first argument. If we fixed that in Nix it could append.
It turns out I didn't end up needing a non-daemon install, so I'm happy to leave this open or close it or whatever.
It appears that flags specified with
install_options
are prepended to the argument list that gets passed to the installer:https://github.com/cachix/install-nix-action/blob/master/lib/install-nix.sh#L32
This means that the hardcoded
--daemon
will override any--no-daemon
passed into as aninstall_option
. Perhaps it would be better to appendinstall_options
to the end of the list?