From 2e9b8619ecae8ce75d05a3c691caea1e5936c9c7 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 13 Oct 2024 02:43:58 -0400 Subject: [PATCH] ublock-origin: drop dns modifications Not necessary since this has now been fixed upstream. --- packages/ublock-origin.nix | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/packages/ublock-origin.nix b/packages/ublock-origin.nix index 09077bdb..4e5db858 100644 --- a/packages/ublock-origin.nix +++ b/packages/ublock-origin.nix @@ -2,8 +2,6 @@ lib, stdenvNoCC, fetchurl, - unzip, - zip, }: stdenvNoCC.mkDerivation (finalAttrs: { @@ -17,23 +15,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { dontUnpack = true; - nativeBuildInputs = [ - unzip - zip - ]; - - postPatch = '' - unzip "$src" - - substituteInPlace ./js/vapi-background-ext.js \ - --replace-fail "browser.dns instanceof Object" "false" - - substituteInPlace ./js/background.js \ - --replace-fail "cnameUncloakEnabled: true" "cnameUncloakEnabled: false" - - zip -x env-vars -r ublock-origin.xpi * - ''; - installPhase = '' runHook preInstall