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 1ead2d0 commit 72cdb22Copy full SHA for 72cdb22
scripts/update-tests-hash
@@ -0,0 +1,16 @@
1
+#!/usr/bin/env bash
2
+# Helper script to update the tests flake hash
3
+set -euo pipefail
4
+
5
+# Go to the root of the repository
6
+cd "$(dirname "$0")/.."
7
8
+echo "Updating tests.narHash..." >&2
9
10
+# Update the flake lock file
11
+nix --extra-experimental-features 'flakes nix-command' flake lock ./tests
12
13
+# Generate the hash
14
+nix --extra-experimental-features 'flakes nix-command' hash path ./tests > ./tests.narHash
15
16
+echo "Hash updated successfully: $(cat tests.narHash)"
0 commit comments