nyxt: disable webkit sandbox to workaround crash
https://github.com/atlas-engineer/nyxt/issues/1781 https://github.com/NixOS/nixpkgs/issues/158005
This commit is contained in:
parent
c196a8136a
commit
43c06b91b3
@ -150,6 +150,17 @@ let lispPackages = rec {
|
||||
|
||||
# Prevent nyxt from trying to obtain dependencies as submodules
|
||||
makeFlags = [ "NYXT_SUBMODULES=false" ] ++ x.buildFlags or [];
|
||||
|
||||
patches = x.patches or [] ++ [
|
||||
# Work around crash when opening _any_ URL
|
||||
# https://github.com/atlas-engineer/nyxt/issues/1781
|
||||
# https://github.com/NixOS/nixpkgs/issues/158005
|
||||
(pkgs.fetchpatch {
|
||||
name = "nyxt-webkit-disable-sandbox.patch";
|
||||
url = "https://github.com/atlas-engineer/nyxt/commit/48ac0d8727f1ca1428188a1ab2c05b7be5f6cc51.patch";
|
||||
sha256 = "0570mcfn5wmjha6jmfdgglp0w5b7rpfnv3flzn77clgbknwbxi0m";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
deps = with pkgs.lispPackages; [
|
||||
|
Loading…
Reference in New Issue
Block a user