nixpkgs/pkgs/tools/package-management/nix/hash-check.patch
2014-01-09 13:07:57 +01:00

14 lines
496 B
Diff

commit 11cb4bfb257f18c906ef1d6f14ed450be8fa49fe upstream
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index dcd7343..4329d9a 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2749,6 +2749,7 @@ void SubstitutionGoal::finished()
logPipe.readSide.close();
/* Get the hash info from stdout. */
+ string dummy = readLine(outPipe.readSide);
string expectedHashStr = statusOk(status) ? readLine(outPipe.readSide) : "";
outPipe.readSide.close();