diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-03-20 18:52:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 18:52:47 +0100 |
commit | 562f67be788650a9068f8be2f568b90b014a0c67 (patch) | |
tree | 4fdcab4e9e7f10d3f9bc78d8382a72cc721cef12 | |
parent | f6959c2de3bd622377faa5b4184c1cbd6fe5a9cc (diff) | |
parent | 306be6af9fc0777f0b2b4bd3917766a805e96f0e (diff) |
Merge pull request #297466 from pillowtrucker/unjank-firefox-contentAddressed
try to fix ca-derivations firefox
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/wrapper.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index a2b97577c8d3f..0f62075439c5d 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -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; |