librewolf-unwrapped: use nvidia wayland vendored patches, format using nixfmt-rfc-style

This commit is contained in:
Ryan Omasta 2024-08-21 04:43:11 -06:00
parent 142d16692d
commit 71438e6528
No known key found for this signature in database

View File

@ -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;
};
}