[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/376: nix-build: Propagate exit status from nix-store -r
From: |
Ludovic Courtès |
Subject: |
135/376: nix-build: Propagate exit status from nix-store -r |
Date: |
Wed, 28 Jan 2015 22:04:33 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit c6e85ee474d79953f14c8bd633ec3f35d246d4a9
Author: Eelco Dolstra <address@hidden>
Date: Sun Aug 17 18:37:09 2014 +0200
nix-build: Propagate exit status from nix-store -r
---
scripts/nix-build.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index ef86cb9..381dbd5 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -274,7 +274,7 @@ foreach my $expr (@exprs) {
while (<OUTPATHS>) {chomp; push @outPaths, $_;}
if (!close OUTPATHS) {
die "nix-store killed by signal " . ($? & 127) . "\n" if ($? & 127);
- exit 1;
+ exit $? >> 8 || 1;
}
next if $dryRun;
- 123/376: Remove pointless NIX_LOG_TYPE environment variable, (continued)
- 123/376: Remove pointless NIX_LOG_TYPE environment variable, Ludovic Courtès, 2015/01/28
- 136/376: Propagate remote timeouts properly, Ludovic Courtès, 2015/01/28
- 131/376: Use $XDG_RUNTIME_DIR for temporary files, Ludovic Courtès, 2015/01/28
- 137/376: Reduce verbosity, Ludovic Courtès, 2015/01/28
- 133/376: Fix download-via-ssh, Ludovic Courtès, 2015/01/28
- 130/376: nix-log2xml: Handle newlines, Ludovic Courtès, 2015/01/28
- 143/376: nix-store -l: Automatically pipe output into $PAGER, Ludovic Courtès, 2015/01/28
- 139/376: Fix --attr parsing, Ludovic Courtès, 2015/01/28
- 142/376: Reduce test verbosity, Ludovic Courtès, 2015/01/28
- 138/376: Doh, Ludovic Courtès, 2015/01/28
- 135/376: nix-build: Propagate exit status from nix-store -r,
Ludovic Courtès <=
- 125/376: Refactor option handling, Ludovic Courtès, 2015/01/28
- 134/376: build-remote.pl: Provide defaults for $NIX_CURRENT_LOAD and $NIX_REMOTE_SYSTEMS, Ludovic Courtès, 2015/01/28
- 141/376: Filter Nix-specific ANSI escape sequences from stderr, Ludovic Courtès, 2015/01/28
- 140/376: Make hook shutdown more reliable, Ludovic Courtès, 2015/01/28
- 144/376: Add some color, Ludovic Courtès, 2015/01/28
- 147/376: Handle header file instantiation, Ludovic Courtès, 2015/01/28
- 152/376: Flush std::cout before closing stdout, Ludovic Courtès, 2015/01/28
- 146/376: Install config.h only once, Ludovic Courtès, 2015/01/28
- 148/376: Force template regeneration, Ludovic Courtès, 2015/01/28
- 158/376: fix disappearing bash arguments, Ludovic Courtès, 2015/01/28