aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/electron/print-hashes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/electron/print-hashes.sh')
-rwxr-xr-xpkgs/development/tools/electron/print-hashes.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/electron/print-hashes.sh b/pkgs/development/tools/electron/print-hashes.sh
index de380fd52233..d6c5d94ec41e 100755
--- a/pkgs/development/tools/electron/print-hashes.sh
+++ b/pkgs/development/tools/electron/print-hashes.sh
@@ -20,6 +20,7 @@ SYSTEMS=(
)
hashfile="$(nix-prefetch-url --print-path "https://github.com/electron/electron/releases/download/v${VERSION}/SHASUMS256.txt" 2>/dev/null | tail -n1)"
+headers="$(nix-prefetch-url "https://atom.io/download/electron/v${VERSION}/node-v${VERSION}-headers.tar.gz")"
# Entry similar to the following goes in default.nix:
@@ -30,4 +31,6 @@ for S in "${!SYSTEMS[@]}"; do
echo " $S = \"$hash\";"
done
+echo " headers = \"$headers\";"
+
echo " };"