From b4b2a7f511c8b5d08ff55cdeb245ef5d67e71efb Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 13 Apr 2024 09:48:43 -0400 Subject: [PATCH] temp: don't have latest.xpi for bpc --- overlays/bypass-paywalls-clean.nix | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/overlays/bypass-paywalls-clean.nix b/overlays/bypass-paywalls-clean.nix index 648b7ce..cd6eab6 100644 --- a/overlays/bypass-paywalls-clean.nix +++ b/overlays/bypass-paywalls-clean.nix @@ -3,20 +3,17 @@ inputs: _final: prev: { # Based on: # https://git.sr.ht/~rycee/nur-expressions/tree/master/item/pkgs/firefox-addons/default.nix#L34 - bypass-paywalls-clean = - let - addonId = "magnolia@12.34"; - in - prev.stdenv.mkDerivation rec { - pname = "bypass-paywalls-clean"; - version = "3.4.9.0"; - src = inputs.bypass-paywalls-clean + "/bypass_paywalls_clean-latest.xpi"; - preferLocalBuild = true; - allowSubstitutes = true; - buildCommand = '' - dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" - mkdir -p "$dst" - install -v -m644 "${src}" "$dst/${addonId}.xpi" - ''; - }; + bypass-paywalls-clean = let addonId = "magnolia@12.34"; + in prev.stdenv.mkDerivation rec { + pname = "bypass-paywalls-clean"; + version = "3.4.9.0"; + src = inputs.bypass-paywalls-clean + "/bypass_paywalls_clean-3.6.3.0.xpi"; + preferLocalBuild = true; + allowSubstitutes = true; + buildCommand = '' + dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" + mkdir -p "$dst" + install -v -m644 "${src}" "$dst/${addonId}.xpi" + ''; + }; }