anchor.diff:    NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lrt -lpthread";
   
     meta = {
  -    homepage = "http://nbd.sourceforge.net";
  +    homepage = "https://nbd.sourceforge.io/";
       description = "Map arbitrary files as block devices over the network";
       license = lib.licenses.gpl2;
  -    platforms = lib.platforms.linux;
  +    platforms = lib.platforms.unix;
     };
   }
  
positive.code:     sha256 = "sha256-aHcVbSOnsz917uidL1wskcVCr8PNy2Nt6lqIU5pY0Qw=";
    };
  
    buildInputs = [ glib linuxHeaders gnutls ];
  
    nativeBuildInputs = [ pkg-config which bison ];
  
  
negative.code:     cp README.md "$out/share/doc/nbd-${version}/"
    '';
  
    doCheck = !stdenv.isDarwin;
  
    passthru.tests = {
      test = nixosTests.nbd;
  