Skip to contentSkip to conversation

master - NIX: Do not fail aggregation when a sub-job fails to produce output.

PATCH Petr Rockai 1 participant 1 message Feb 5, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f1d273a0b09cf2de58921dbf72459fe16b3b6c6a
Commit:        f1d273a0b09cf2de58921dbf72459fe16b3b6c6a
Parent:        93d8455faac76f5dcbf40f45d28aaf506856eb85
Author:        Petr Rockai <[email protected]>
AuthorDate:    Wed Sep 10 18:18:45 2014 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Thu Feb 5 13:47:20 2015 +0100

NIX: Do not fail aggregation when a sub-job fails to produce output.

---
 nix/default.nix |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
nix/default.nix +1 -1
index 6cadd32..96ad775 100644
@@ -19,7 +19,7 @@ let
        mkdir -p $out/test-results
        for i in ${lib.concatStringsSep " " buildInputs}; do
          cat $i/test-results/list >> $out/test-results/list
-         cp $i/test-results'/'*.txt $out/test-results/
+         cp $i/test-results'/'*.txt $out/test-results/ || true
        done
      '';