nixpkgs-suyu/pkgs
Eelco Dolstra 0ad27c8653 nixos-rebuild: Set inherit_errexit
Without this, failure of nixBuild() and nixFlakeBuild() was ignored
(since bash doesn't inherit 'set -e' in subshells by default), so the
script would proceed with a bogus ./result link, e.g.

  ++ readlink -f /tmp/nixos-rebuild.NfHKxx/result
  + pathToConfig='/nix/store/m7dvk6an18cpr95qn5wnig2600qhv6w7-nix-2.4pre20210727_706777a/bin/nix
  /tmp/nixos-rebuild.NfHKxx/result'
  + '[' test = switch -o test = boot ']'
  + copyToTarget '/nix/store/m7dvk6an18cpr95qn5wnig2600qhv6w7-nix-2.4pre20210727_706777a/bin/nix
  /tmp/nixos-rebuild.NfHKxx/result'
  + '[' '' = '' ']'
  + '[' test = switch -o test = boot -o test = test -o test = dry-activate ']'
  + targetHostCmd /nix/store/m7dvk6an18cpr95qn5wnig2600qhv6w7-nix-2.4pre20210727_706777a/bin/nix /tmp/nixos-rebuild.NfHKxx/result/bin/switch-to-configuration test
  + '[' -z '' ']'
  + sudo -- /nix/store/m7dvk6an18cpr95qn5wnig2600qhv6w7-nix-2.4pre20210727_706777a/bin/nix /tmp/nixos-rebuild.NfHKxx/result/bin/switch-to-configuration test
  error: '/tmp/nixos-rebuild.NfHKxx/result/bin/switch-to-configuration' is not a recognised command
  Try '/nix/store/m7dvk6an18cpr95qn5wnig2600qhv6w7-nix-2.4pre20210727_706777a/bin/nix --help' for more information.
  + echo 'warning: error(s) occurred while switching to the new configuration'
  warning: error(s) occurred while switching to the new configuration
2021-07-28 17:13:01 +02:00
..
applications Merge pull request #131743 from DeeUnderscore/streamlink-2.3.0 2021-07-28 12:52:00 +00:00
build-support
common-updater
data xorg-rgb: format, cleanup 2021-07-27 09:46:18 +02:00
desktops cinnamon-common: remove alias 2021-07-27 08:16:20 -07:00
development Merge pull request #131812 from prusnak/gcab-unix 2021-07-28 15:38:04 +02:00
games ecwolf: fix compilation on darwin 2021-07-27 23:11:09 +02:00
misc Merge pull request #131782 from angustrau/vscode-remote-ssh 2021-07-28 09:02:07 +01:00
os-specific nixos-rebuild: Set inherit_errexit 2021-07-28 17:13:01 +02:00
pkgs-lib
servers tailscale: 1.12.0 -> 1.12.1 2021-07-28 08:46:31 +02:00
shells
stdenv
test
tools Merge pull request #131752 from iAmMrinal0/update/google-cloud-sdk 2021-07-28 12:59:30 +00:00
top-level Merge pull request #131774 from dan4ik605743/coreshot 2021-07-28 12:27:01 +00:00