Skip to content

Commit

Permalink
nyxt: disable webkit sandbox to workaround crash
Browse files Browse the repository at this point in the history
  • Loading branch information
sternenseemann committed Jul 5, 2022
1 parent 398103a commit 845d77e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/lisp-modules/lisp-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [
Expand Down

0 comments on commit 845d77e

Please sign in to comment.