mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00: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
@ -89,7 +89,7 @@ let
|
||||
in
|
||||
[
|
||||
"sh"
|
||||
"-c"
|
||||
"-ec"
|
||||
(lib.concatMapStringsSep ";" escapeShellArgs' extracted.commands)
|
||||
# We need paths as separate arguments so that update.nix can ensure they refer to the local directory
|
||||
# rather than a store path.
|
||||
|
Loading…
Reference in New Issue
Block a user