Commit Graph

3 Commits

Author SHA1 Message Date
Jan Tojnar
3c78e0ce04 _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'" ]
2024-07-13 15:47:27 +02:00
Jan Tojnar
9137e671a2 update-script-combinators.copyAttrOutputToFile: init
Useful for storing generated files into Nixpkgs repo as a part of an update script to avoid a build time dependency.
2022-09-07 14:23:28 +02:00
Jan Tojnar
7d6b5d171a update-script-combinators: experimental init
The sequence combinator will be useful for updating packages consisting of multiple sources.
2022-09-07 14:23:28 +02:00