home-manager/home-manager
polykernel 9437177e82
home-manager: fix home-manager build error (#2514)
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 9de77227d7)
2021-12-02 23:22:52 +01:00
..
completion.bash home-manager: add command line argument --impure 2021-08-19 00:07:49 +02:00
completion.fish home-manager: add command line argument --impure 2021-08-19 00:07:49 +02:00
completion.zsh home-manager: add command line argument --impure 2021-08-19 00:07:49 +02:00
default.nix Remove remaining allowSubstitutes = false 2021-11-12 23:24:08 +01:00
home-manager home-manager: fix home-manager build error (#2514) 2021-12-02 23:22:52 +01:00
home-manager.nix home-manager: remove top-level with pkgs.lib 2021-10-31 08:50:55 +01:00
install.nix home-manager: minor reorder of generated home.nix 2021-11-14 00:13:53 +01:00