diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index de3b42027f2d..c505d89a6d8f 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -25,12 +25,12 @@ stdenv.mkDerivation rec { "--without-debug" "--enable-pc-files" "--enable-symlinks" - "--includedir=\${out}/include" ] ++ lib.optional unicode "--enable-widec"; buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm; preConfigure = '' + configureFlagsArray+=("--includedir=$out/include") export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig" mkdir -p "$PKG_CONFIG_LIBDIR" '' + lib.optionalString stdenv.isCygwin ''