diff --git a/pkgs/by-name/to/tor-browser/package.nix b/pkgs/by-name/to/tor-browser/package.nix index 83bc910e7697..009c201e13f6 100644 --- a/pkgs/by-name/to/tor-browser/package.nix +++ b/pkgs/by-name/to/tor-browser/package.nix @@ -136,12 +136,6 @@ let }; } ); - - policiesJson = writeText "policies.json" ( - builtins.toJSON { - policies.DisableAppUpdate = true; - } - ); in stdenv.mkDerivation rec { pname = "tor-browser"; @@ -213,8 +207,8 @@ stdenv.mkDerivation rec { # firefox is a wrapper that checks for a more recent libstdc++ & appends it to the ld path mv firefox.real firefox - # store state at `~/.tor browser` instead of relative to executable - touch "$TBB_IN_STORE/system-install" + # store state at `~/.tor project` instead of relative to executable + touch "$TBB_IN_STORE/is-packaged-app" # The final libPath. Note, we could split this into firefoxLibPath # and torLibPath for accuracy, but this is more convenient ... @@ -331,7 +325,6 @@ stdenv.mkDerivation rec { # Install distribution customizations install -Dvm644 ${distributionIni} $out/share/tor-browser/distribution/distribution.ini - install -Dvm644 ${policiesJson} $out/share/tor-browser/distribution/policies.json runHook postInstall '';