electron: passthru headers
This commit is contained in:
@@ -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 " };"
|
||||
|
||||
Reference in New Issue
Block a user