anchor.diff:  
     nativeBuildInputs = [ cmake pkgconfig git ];
   
  -  buildInputs = [ boost miniupnpc openssl unbound cppzmq zeromq pcsclite readline ]
  -    ++ stdenv.lib.optional stdenv.isDarwin IOKit;
  +  buildInputs = [
  +    boost miniupnpc openssl unbound
  +    cppzmq zeromq pcsclite readline
  +  ] ++ optional stdenv.isDarwin IOKit;
   
     cmakeFlags = [
       "-DCMAKE_BUILD_TYPE=Release"
  
positive.code: 
    hardeningDisable = [ "fortify" ];
  
    installPhase = ''
      make install
      install -Dt "$out/bin/" \
        bin/monero-blockchain-export \
        bin/monero-blockchain-import \
        bin/monero-wallet-rpc
    '';
  
    meta = with stdenv.lib; {
      description = "Private, secure, untraceable currency";
      homepage    = https://getmonero.org/;
      license     = licenses.bsd3;
      platforms   = platforms.all;
      maintainers = [ maintainers.ehmry ];
    };
  }
  
negative.code: { stdenv, fetchFromGitHub, cmake, pkgconfig, git
  , boost, miniupnpc, openssl, unbound, cppzmq
  , zeromq, pcsclite, readline
  , IOKit ? null
  }:
  
  assert stdenv.isDarwin -> IOKit != null;
  
  with stdenv.lib;
  
  stdenv.mkDerivation rec {
    name    = "monero-${version}";
  