aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh')
-rwxr-xr-xinfra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh b/infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh
index 45656a8f7b2b..d6c5d94ec41e 100755
--- a/infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh
+++ b/infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh
@@ -20,9 +20,10 @@ 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:
-echo "Entry similar to the following goes in default.nix:"
-echo
echo " electron_${VERSION%%.*} = mkElectron \"${VERSION}\" {"
for S in "${!SYSTEMS[@]}"; do
@@ -30,4 +31,6 @@ for S in "${!SYSTEMS[@]}"; do
echo " $S = \"$hash\";"
done
+echo " headers = \"$headers\";"
+
echo " };"