diff options
| author | Klemens Nanni <klemens@posteo.de> | 2022-06-05 21:04:07 +0200 |
|---|---|---|
| committer | Klemens Nanni <klemens@posteo.de> | 2022-06-23 21:39:13 +0400 |
| commit | 7a0549387ba08400f77de54417c41a6d45ad1056 (patch) | |
| tree | c470b2d082d434c1b807817806c15c6912fd43ab /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | cefe06f820882fba4d764e270a06230a8ed1de15 (diff) | |
nixos-rebuild: Accept only one argument
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
