mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
9437177e82
Two misplaced quotations were introduced in `doBuild` by https://github.com/nix-community/home-manager/pull/2501, which
caused the parameter expansion of DRY_RUN to include an extraneous tab. Since the flake uri is passed
later into the command, Nix assumes the whitespace sequence as the flake uri and returns that it is not
a valid flake reference.
This PR removes the misplaced quotations in `doBuild` and also places the flake uri as the first argument for
calls to `doBuildFlake` for consistency with `doBuildAttr`. Placing the uri first in the command line also guards
against possible security issues if arbitrary uris are expanded prior to the user given uri.
(cherry picked from commit
|
||
---|---|---|
.. | ||
completion.bash | ||
completion.fish | ||
completion.zsh | ||
default.nix | ||
home-manager | ||
home-manager.nix | ||
install.nix |