We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
FD_SETSIZE
DARWIN_UNLIMITED_SELECT
2 parents 7475c7a + e1e5def commit a94bce7Copy full SHA for a94bce7
pkgs/applications/editors/emacs/make-emacs.nix
@@ -460,13 +460,10 @@ mkDerivation (finalAttrs: {
460
NATIVE_FULL_AOT = "1";
461
LIBRARY_PATH = lib.concatStringsSep ":" libGccJitLibraryPaths;
462
}
463
- // {
464
- NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
465
- # Fixes intermittent segfaults when compiled with LLVM >= 7.0.
466
- # See https://github.com/NixOS/nixpkgs/issues/127902
467
- (lib.optionalString (variant == "macport") "-include ${./macport_noescape_noop.h}")
468
- (lib.optionalString stdenv.hostPlatform.isDarwin "-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT")
469
- ];
+ // lib.optionalAttrs (variant == "macport") {
+ # Fixes intermittent segfaults when compiled with LLVM >= 7.0.
+ # See https://github.com/NixOS/nixpkgs/issues/127902
+ NIX_CFLAGS_COMPILE = "-include ${./macport_noescape_noop.h}";
470
};
471
472
enableParallelBuilding = true;
0 commit comments