From 586070ede39e676a7f569e7b8cd6f111c3bcf0ab Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 20 Dec 2023 13:27:33 +0100 Subject: [PATCH] electron.headers: use gzip instead of xz compression (#275628) node-gyp can't unpack XZ. Fixes https://github.com/NixOS/nixpkgs/issues/275627 --- pkgs/development/tools/electron/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/electron/common.nix b/pkgs/development/tools/electron/common.nix index 497a321c3f14..78ee9fee239d 100644 --- a/pkgs/development/tools/electron/common.nix +++ b/pkgs/development/tools/electron/common.nix @@ -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 = ''