diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0fc9f6d2656c..ab3d5b7ccdc9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7564,7 +7564,7 @@ let # use override to select the appropriate gui toolkit libXaw = if stdenv.isDarwin then xlibs.libXaw else null; Xaw3d = null; - gtk = if stdenv.isDarwin then gtkLibs.gtk else null; + gtk = if stdenv.isDarwin then null else gtkLibs.gtk; # TODO: these packages don't build on Darwin. gconf = if stdenv.isDarwin then null else gnome.GConf; librsvg = if stdenv.isDarwin then null else librsvg;