anchor.diff:        from it).
       '';
       maintainers = [ stdenv.lib.maintainers.mornfall ];
  -    platforms = stdenv.lib.platforms.linux;
  +    platforms = stdenv.lib.platforms.unix;
     };
   }
  
positive.code: { stdenv, fetchurl, ncurses }:
  
  stdenv.mkDerivation rec {
    name = "lsof-${version}";
  
negative.code:   };
  
    unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=$( echo lsof_*/); ";
  
    patches = [ ./dfile.patch ];
  
    # Stop build scripts from searching global include paths
    LSOF_INCLUDE = "${stdenv.cc.libc}/include";
    configurePhase = "./Configure -n ${dialect}";
    preBuild = ''
      sed -i Makefile -e 's/^CFGF=/&	-DHASIPv6=1/;' -e 's/-lcurses/-lncurses/'
      for filepath in $(find dialects/${dialect} -type f); do
        sed -i "s,/usr/include,$LSOF_INCLUDE,g" $filepath
      done
    '';
  
    installPhase = ''
      mkdir -p $out/bin $out/man/man8
  