mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
_experimental-update-script-combinators.sequence: Terminate on failure
Before: nix-repl> (_experimental-update-script-combinators.sequence [["false"] ["echo" "work"]]).command [ "sh" "-c" "'false';'echo' 'work'" ] After: nix-repl> (_experimental-update-script-combinators.sequence [["false"] ["echo" "work"]]).command [ "sh" "-ec" "'false';'echo' 'work'" ]
This commit is contained in:
parent
9ecab00bf4
commit
3c78e0ce04
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ let
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"sh"
|
"sh"
|
||||||
"-c"
|
"-ec"
|
||||||
(lib.concatMapStringsSep ";" escapeShellArgs' extracted.commands)
|
(lib.concatMapStringsSep ";" escapeShellArgs' extracted.commands)
|
||||||
# We need paths as separate arguments so that update.nix can ensure they refer to the local directory
|
# We need paths as separate arguments so that update.nix can ensure they refer to the local directory
|
||||||
# rather than a store path.
|
# rather than a store path.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue