mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
librewolf-unwrapped: use nvidia wayland vendored patches, format using nixfmt-rfc-style
This commit is contained in:
parent
142d16692d
commit
71438e6528
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user