anchor.diff:  
     doCheck = true;
   
  -  buildInputs = stdenv.lib.optionals static [ stdenv.cc.libc stdenv.cc.libc.static ];
  +  buildInputs = stdenv.lib.optionals static [ stdenv.cc.libc stdenv.cc.libc.static ] ++
  +    stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.libs.utmp;
   
     postPatch = ''
       sed -i "s,\(#define RUNIT\) .*,\1 \"$out/bin/runit\"," src/runit.h
  
positive.code: 
      # Both of these are originally hard-coded to gcc
      echo ${stdenv.cc.targetPrefix}cc > conf-cc
      echo ${stdenv.cc.targetPrefix}cc > conf-ld
    '';
  
    installPhase = ''
  
negative.code:     license = licenses.bsd3;
      homepage = "http://smarden.org/runit";
      maintainers = with maintainers; [ joachifm ];
      platforms = platforms.linux ++ platforms.darwin;
    };
  }
  