From 215101a0037497b2586eda67d8653717a979fd35 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sun, 29 May 2022 22:39:45 +0200 Subject: [PATCH] emscriptenStdenv: default dontStrip=true, it strips archive indices This fixes the emscriptenPackages.xmlmirror-unstable build --- pkgs/development/em-modules/generic/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/em-modules/generic/default.nix b/pkgs/development/em-modules/generic/default.nix index a85972029416..2f8d7d878a8e 100644 --- a/pkgs/development/em-modules/generic/default.nix +++ b/pkgs/development/em-modules/generic/default.nix @@ -18,6 +18,9 @@ pkgs.stdenv.mkDerivation ( # fake conftest results with emscripten's python magic EMCONFIGURE_JS=2; + # removes archive indices + dontStrip = args.dontStrip or true; + configurePhase = args.configurePhase or '' # FIXME: Some tests require writing at $HOME HOME=$TMPDIR