anchor.diff:    # When building a wide-character (Unicode) build, create backward
     # compatibility links from the the "normal" libraries to the
     # wide-character libraries (e.g. libncurses.so to libncursesw.so).
  -  postInstall = if unicode then ''
  +  postInstall = if unicode then (''
       # Create a non-abi versioned config
       cfg=$(basename $out/bin/ncurses*-config)
       ln -svf $cfg $out/bin/ncursesw-config
  
positive.code:     # Create curses compatability
      ln -svf libncursesw.so $out/lib/libcursesw.so
      ln -svf libncursesw.so $out/lib/libcurses.so
    '' else ''
      # Create a non-abi versioned config
      cfg=$(basename $out/bin/ncurses*-config)
      ln -svf $cfg $out/bin/ncurses-config
  
negative.code:     (mkEnable unicode     "widec"       null)
      (mkEnable true        "ext-colors"  null)
      (mkEnable true        "ext-mouse"   null)
    ] ++ stdenv.lib.optionals stdenv.isCygwin [
      "--enable-sp-funcs"
      "--enable-term-driver"
      "--enable-const"
      "--enable-ext-colors"
      "--enable-ext-mouse"
      "--enable-reentrant"
      "--enable-colorfgbg"
      "--enable-tcap-names"
    ];
  
    # PKG_CONFIG_LIBDIR is where the *.pc files will be installed. If this
  