pkgs: diff-flake: do not default to verbose build

This commit is contained in:
Bruno BELANYI 2021-04-27 16:51:50 +00:00
parent 2fac46b606
commit 12475ff3a8

View file

@ -101,8 +101,8 @@ diff_output() {
PREV="$(@mktemp@ --dry-run)"
NEW="$(@mktemp@ --dry-run)"
nix build "${NIX_BUILD_ARGS[@]}" -v ".?rev=${PREVIOUS_REV}#$1" -o "$PREV"
nix build "${NIX_BUILD_ARGS[@]}" -v ".${NEW_REV:+?rev=$NEW_REV}#$1" -o "$NEW"
nix build "${NIX_BUILD_ARGS[@]}" ".?rev=${PREVIOUS_REV}#$1" -o "$PREV"
nix build "${NIX_BUILD_ARGS[@]}" ".${NEW_REV:+?rev=$NEW_REV}#$1" -o "$NEW"
{
# shellcheck disable=SC2016