mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-22 18:24:59 +03:00
nixos-generators: add --show-trace option
This flag is available on all nix-related commands. Migth as well have it too!
This commit is contained in:
parent
8d3710924a
commit
942232e300
@ -32,6 +32,7 @@ Options:
|
||||
* --list: list the available built-in formats
|
||||
* --run: runs the configuration in a VM
|
||||
only works for the "vm" and "vm-no-gui" formats
|
||||
* --show-trace: show more detailed nix evaluation location information
|
||||
* --system: specify the target system (eg: x86_64-linux)
|
||||
* --cores : to control the maximum amount of parallelism. (see nix-build documentation)
|
||||
* -I KEY=VALUE: Add a key to the Nix expression search path.
|
||||
@ -84,6 +85,9 @@ while [[ $# -gt 0 ]]; do
|
||||
format_path=$format_dir/vm.nix
|
||||
fi
|
||||
;;
|
||||
--show-trace)
|
||||
nix_args+=(--show-trace)
|
||||
;;
|
||||
--system)
|
||||
target_system=$2
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user