mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
7a0549387b
Multiple arguments make no sense but they are accepted, the last one winning. Found editing a previous run from shell history and adding a command rather than replacing it; observe in verbose mode: ``` $ nixos-rebuild dry-run -v building the system configuration... Building in legacy (non-flake) mode. No --build-host given, running nix-build locally $ nix-build <nixpkgs/nixos> -A system -k -I nixpkgs=/home/kn/src/nixpkgs -v --dry-run ... ``` ``` $ nixos-rebuild dry-run build -v building Nix... $ nix-instantiate <nixpkgs/nixos> --add-root /tmp/nixos-rebuild.jgEYqZ/nix.drv --indirect -A config.nix.package.out -I nixpkgs=/home/kn/src/nixpkgs -v ... ``` nixos-rebuild(8) already bails out on zero arguments, so do the same when passing a second one. |
||
---|---|---|
.. | ||
default.nix | ||
nixos-rebuild.sh |