diff --git a/pkgs/development/lisp-modules/lisp-packages.nix b/pkgs/development/lisp-modules/lisp-packages.nix index cb4ebba3ff49a9..69a4596c22f64f 100644 --- a/pkgs/development/lisp-modules/lisp-packages.nix +++ b/pkgs/development/lisp-modules/lisp-packages.nix @@ -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; [