diff --git a/pkgs/by-name/gp/gpm/package.nix b/pkgs/by-name/gp/gpm/package.nix index 3ab2e882b896..359b1eb48477 100644 --- a/pkgs/by-name/gp/gpm/package.nix +++ b/pkgs/by-name/gp/gpm/package.nix @@ -63,12 +63,19 @@ stdenv.mkDerivation { configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" - (if withNcurses then "--with-curses" else "--without-curses") + (lib.withFeature withNcurses "curses") # The code won't compile in c23 mode. # https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters "CFLAGS=-std=gnu17" ]; + outputs = [ + "out" + "dev" + "info" + "man" + ]; + enableParallelBuilding = true; # Provide libgpm.so for compatibility