anchor.diff:    patches =
       [ ./link-against-ncurses.patch
         ./no-arch_only-6.3.patch
  -    ];
  +    ]
  +    ++
  +    (let
  +       patch = nr: sha256:
  +         fetchurl {
  +           url = "mirror://gnu/readline/readline-6.3-patches/readline63-${nr}";
  +           inherit sha256;
  +         };
  +     in
  +       import ./readline-6.3-patches.nix patch);
  +
  +  # Don't run the native `strip' when cross-compiling.
  +  dontStrip = stdenv ? cross;
   
     meta = with stdenv.lib; {
       description = "Library for interactive line editing";
  
positive.code:     platforms = platforms.unix;
    };
  }
  
  //
  
  # Don't run the native `strip' when cross-compiling.
  (if (stdenv ? cross)
   then { dontStrip = true; }
   else { }))
  
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];
  