We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c4305e + 23d228e commit 5ea1b6fCopy full SHA for 5ea1b6f
update-nix.sh
@@ -25,7 +25,7 @@ fi
25
26
echo "Determining new sha for sbt build, this can take several minutes to do a 'sbt compile'"
27
28
-NEW_SHA=$(nix-build -E 'with import ./. {}; deps.overrideAttrs( _: { outputHash = "0000000000000000000000000000000000000000000000000000"; })' 2>&1 | grep " got: " | sed -r 's/\s+got:\s+//' | xargs nix-hash --to-base32 --type sha256 )
+NEW_SHA=$(nix-build -E 'with import ./. {}; deps.overrideAttrs( _: { outputHash = "0000000000000000000000000000000000000000000000000000"; })' 2>&1 | grep " got: " | head -n 1 | sed -r 's/\s+got:\s+//' | xargs nix-hash --to-base32 --type sha256 )
29
30
echo "Calculated sha: $NEW_SHA"
31
0 commit comments