Loading pkgs/applications/terminal-emulators/xterm/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -54,8 +54,13 @@ stdenv.mkDerivation rec { "--with-app-defaults=$(out)/lib/X11/app-defaults" ] ++ lib.optional enableDecLocator "--enable-dec-locator"; env = { # Work around broken "plink.sh". NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig"; } // lib.optionalAttrs stdenv.hostPlatform.isMusl { # Various symbols missing without this define: TAB3, NLDLY, CRDLY, BSDLY, FFDLY, CBAUD NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; }; # Hack to get xterm built with the feature of releasing a possible setgid of 'utmp', # decided by the sysadmin to allow the xterm reporting to /var/run/utmp Loading Loading
pkgs/applications/terminal-emulators/xterm/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -54,8 +54,13 @@ stdenv.mkDerivation rec { "--with-app-defaults=$(out)/lib/X11/app-defaults" ] ++ lib.optional enableDecLocator "--enable-dec-locator"; env = { # Work around broken "plink.sh". NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig"; } // lib.optionalAttrs stdenv.hostPlatform.isMusl { # Various symbols missing without this define: TAB3, NLDLY, CRDLY, BSDLY, FFDLY, CBAUD NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; }; # Hack to get xterm built with the feature of releasing a possible setgid of 'utmp', # decided by the sysadmin to allow the xterm reporting to /var/run/utmp Loading