Merge pull request #336304 from ryand56/librewolf/ignore-upstream-nvidia-patches

librewolf-unwrapped: use nvidia explicit sync vendored patches
This commit is contained in:
superherointj
2024-08-23 05:29:51 -03:00
committed by GitHub
@@ -15,8 +15,10 @@ rec {
extraPostPatch = ''
while read patch_name; do
echo "applying LibreWolf patch: $patch_name"
patch -p1 < ${source}/$patch_name
if ! sed -n '/nvidia-wayland-backported-fixes-.*-Bug-1898476/p'; then
echo "applying LibreWolf patch: $patch_name"
patch -p1 < ${source}/$patch_name
fi
done <${source}/assets/patches.txt
cp -r ${source}/themes/browser .
@@ -30,8 +32,9 @@ rec {
extraPoliciesFiles = [ "${src.settings}/distribution/policies.json" ];
extraPassthru = {
librewolf = { inherit src extraPatches; };
librewolf = {
inherit src extraPatches;
};
inherit extraPrefsFiles extraPoliciesFiles;
};
}