temp: don't have latest.xpi for bpc

This commit is contained in:
Noah Masur 2024-04-13 09:48:43 -04:00
parent bc2d0a347d
commit b4b2a7f511
No known key found for this signature in database

View File

@ -3,20 +3,17 @@ inputs: _final: prev: {
# Based on: # Based on:
# https://git.sr.ht/~rycee/nur-expressions/tree/master/item/pkgs/firefox-addons/default.nix#L34 # https://git.sr.ht/~rycee/nur-expressions/tree/master/item/pkgs/firefox-addons/default.nix#L34
bypass-paywalls-clean = bypass-paywalls-clean = let addonId = "magnolia@12.34";
let in prev.stdenv.mkDerivation rec {
addonId = "magnolia@12.34"; pname = "bypass-paywalls-clean";
in version = "3.4.9.0";
prev.stdenv.mkDerivation rec { src = inputs.bypass-paywalls-clean + "/bypass_paywalls_clean-3.6.3.0.xpi";
pname = "bypass-paywalls-clean"; preferLocalBuild = true;
version = "3.4.9.0"; allowSubstitutes = true;
src = inputs.bypass-paywalls-clean + "/bypass_paywalls_clean-latest.xpi"; buildCommand = ''
preferLocalBuild = true; dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
allowSubstitutes = true; mkdir -p "$dst"
buildCommand = '' install -v -m644 "${src}" "$dst/${addonId}.xpi"
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" '';
mkdir -p "$dst" };
install -v -m644 "${src}" "$dst/${addonId}.xpi"
'';
};
} }