cleanup
This commit is contained in:
parent
8cfd81c825
commit
0955d2d1c3
2 changed files with 2 additions and 11 deletions
|
@ -59,7 +59,6 @@ in
|
|||
);
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisableScreenshots = true;
|
||||
EnableTrackingProtection = {
|
||||
Value = true;
|
||||
Locked = true;
|
||||
|
|
|
@ -1,25 +1,17 @@
|
|||
{ prev, final, ... }:
|
||||
{
|
||||
# firefox-unwrapped = (prev.firefox-unwrapped.overrideAttrs (old: {
|
||||
# patches = (old.patches or []) ++ [ ../patches/firefox_search_engines.patch ];
|
||||
# })).override {
|
||||
# stdenv = prev.ccacheStdenv;
|
||||
# overrideCC = stdenv: compiler: let
|
||||
# env = prev.ccacheStdenv.override { inherit stdenv; };
|
||||
# in prev.overrideCC env compiler;
|
||||
# };
|
||||
firefox = prev.firefox.overrideAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ (with prev; [ zip unzip gnused ] );
|
||||
buildCommand = ''
|
||||
export buildRoot="$(pwd)"
|
||||
'' + old.buildCommand + ''
|
||||
cd $buildRoot
|
||||
pushd $buildRoot
|
||||
unzip $out/lib/firefox/browser/omni.ja -d patched_omni || true
|
||||
rm $out/lib/firefox/browser/omni.ja
|
||||
cd patched_omni
|
||||
sed -i 's/"enterprise_only"\s*:\s*true,//' modules/policies/schema.sys.mjs
|
||||
zip -0DXqr $out/lib/firefox/browser/omni.ja * # potentially qr9XD
|
||||
cd $out
|
||||
popd
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue