From 8126f997ac7a346df904142ec58c1b23a868b2bc Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 8 Apr 2022 22:27:12 +0800 Subject: [PATCH] gnome.ghex: fix darwin build --- pkgs/desktops/gnome/apps/ghex/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/desktops/gnome/apps/ghex/default.nix b/pkgs/desktops/gnome/apps/ghex/default.nix index bd68b393c3cc..d78fb3fc2019 100644 --- a/pkgs/desktops/gnome/apps/ghex/default.nix +++ b/pkgs/desktops/gnome/apps/ghex/default.nix @@ -54,6 +54,9 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dgtk_doc=true" + ] ++ lib.optionals stdenv.isDarwin [ + # mremap does not exist on darwin + "-Dmmap-buffer-backend=false" ]; postFixup = ''