anchor.diff:      platforms = platforms.unix;
     };
   }
  -
  -//
  -
  -# Don't run the native `strip' when cross-compiling.
  -(if (stdenv ? cross)
  - then { dontStrip = true; }
  - else { }))
  
positive.code:   patches =
      [ ./link-against-ncurses.patch
        ./no-arch_only-6.3.patch
      ];
  
    meta = with stdenv.lib; {
      description = "Library for interactive line editing";
  
negative.code: { fetchurl, stdenv, ncurses }:
  
  stdenv.mkDerivation rec {
    name = "readline-6.3p08";
  
    src = fetchurl {
      url = "mirror://gnu/readline/readline-6.3.tar.gz";
      sha256 = "0hzxr9jxqqx5sxsv9vmlxdnvlr9vi4ih1avjb869hbs6p5qn1fjn";
    };
  
    propagatedBuildInputs = [ncurses];
  