electron.headers: use gzip instead of xz compression (#275628)

node-gyp can't unpack XZ. Fixes https://github.com/NixOS/nixpkgs/issues/275627
This commit is contained in:
Yureka 2023-12-20 13:27:33 +01:00 committed by GitHub
parent 6b25f0686e
commit 586070ede3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ in (chromium.override { upstream-info = info.chromium; }).mkDerivation (base: {
passthru = {
inherit info;
headers = stdenv.mkDerivation rec {
name = "node-v${info.node}-headers.tar.xz";
name = "node-v${info.node}-headers.tar.gz";
nativeBuildInputs = [ python3 ];
src = fetchdep info.deps."src/third_party/electron_node";
buildPhase = ''