mirror of
https://cgit.krebsco.de/krops
synced 2024-11-26 21:19:47 +01:00
Merge remote-tracking branch 'prism/master'
This commit is contained in:
commit
3aa04be96f
2 changed files with 7 additions and 2 deletions
|
@ -156,6 +156,10 @@ below `/var/src`, and executes `NIX_PATH=/var/src nix-build -A system '<nixpkgs/
|
||||||
|
|
||||||
[see `writeDeploy`](#writeDeploy)
|
[see `writeDeploy`](#writeDeploy)
|
||||||
|
|
||||||
|
### `trace` (optional, defaults to false)
|
||||||
|
|
||||||
|
run nix-build with `--show-trace`
|
||||||
|
|
||||||
## writeCommand
|
## writeCommand
|
||||||
|
|
||||||
This can be used to run other commands than `nixos-rebuild` or pre/post build hooks.
|
This can be used to run other commands than `nixos-rebuild` or pre/post build hooks.
|
||||||
|
|
|
@ -82,7 +82,8 @@ in
|
||||||
backup ? false,
|
backup ? false,
|
||||||
force ? false,
|
force ? false,
|
||||||
source,
|
source,
|
||||||
target
|
target,
|
||||||
|
trace ? false
|
||||||
}: let
|
}: let
|
||||||
target' = lib.mkTarget target;
|
target' = lib.mkTarget target;
|
||||||
in
|
in
|
||||||
|
@ -95,7 +96,7 @@ in
|
||||||
-A system \
|
-A system \
|
||||||
--keep-going \
|
--keep-going \
|
||||||
--no-out-link \
|
--no-out-link \
|
||||||
--show-trace \
|
${lib.optionalString trace "--show-trace"} \
|
||||||
'<nixpkgs/nixos>'
|
'<nixpkgs/nixos>'
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue