diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
commit | 80d90d9b204f7c17912740f9f414fe5d59f293ba (patch) | |
tree | 5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh | |
parent | 3a31a84c7d3e589035ad08499206aac44a81f424 (diff) | |
parent | 83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff) |
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh')
-rwxr-xr-x | infra/libkookie/nixpkgs/pkgs/development/tools/electron/print-hashes.sh | 7 |
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 " };" |