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.
1 parent 1cae989 commit b1534fbCopy full SHA for b1534fb
scripts/update-flake.sh
@@ -3,6 +3,12 @@
3
4
set -eu
5
6
+# CI only checks the hash on linux/amd64. If you run it in any other os/arch
7
+# then the hash won't match.
8
+if [[ $(go env GOARCH) != "amd64" ]] || [[ $(go env GOOS) != "linux" ]]; then
9
+ echo "WARNING: This script should only be run on a linux/amd64 machine!"
10
+fi
11
+
12
cd "$(dirname "${BASH_SOURCE[0]}")/.."
13
14
OUT=$(mktemp -d -t nar-hash-XXXXXX)
0 commit comments