Merge pull request #297466 from pillowtrucker/unjank-firefox-contentAddressed

try to fix ca-derivations firefox
This commit is contained in:
Martin Weinelt 2024-03-20 18:52:47 +01:00 committed by GitHub
commit 562f67be78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@
, sndio
, libjack2
, speechd
, removeReferencesTo
}:
## configurability of the wrapper itself
@ -238,7 +239,7 @@ let
};
}));
nativeBuildInputs = [ makeWrapper lndir jq ];
nativeBuildInputs = [ makeWrapper lndir jq removeReferencesTo ];
buildInputs = [ browser.gtk3 ];
@ -413,7 +414,9 @@ let
passthru = { unwrapped = browser; };
disallowedRequisites = [ stdenv.cc ];
postInstall = ''
find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
'';
meta = browser.meta // {
inherit (browser.meta) description;
mainProgram = launcherName;