anchor.diff:        echo "$i: replacing references to \`/tmp' by \`$TMPDIR'..."
         substituteInPlace "$i" --replace "/tmp" "$TMPDIR"
       done
  +
  +    # Ensure NSS installation works fine
  +    configureFlags="$configureFlags --with-nssdir=$out/lib"
  +    patchShebangs src/gns/nss/install-nss-plugin.sh
     '';
   
     doCheck = false;
  
positive.code: { stdenv, fetchurl, libextractor, libmicrohttpd, libgcrypt
  , zlib, gmp, curl, libtool, adns, sqlite, pkgconfig
  , libxml2, ncurses, gettext, libunistring
  , makeWrapper }:
  
  stdenv.mkDerivation rec {
    name = "gnunet-0.9.3";
  
    src = fetchurl {
      url = "mirror://gnu/gnunet/${name}.tar.gz";
      sha256 = "0ppirvwjb7w7270g0w83z6wyk984cnxv2ydxj7qr0j1cz2j6nn2h";
    };
  
    buildInputs = [
      libextractor libmicrohttpd libgcrypt gmp curl libtool
      zlib adns sqlite libxml2 ncurses
      pkgconfig gettext libunistring makeWrapper
    ];
  
  
negative.code: 
      license = "GPLv2+";
  
      maintainers = with stdenv.lib.maintainers; [ ludo viric ];
      platforms = stdenv.lib.platforms.gnu;
    };
  }
  