anchor.diff:  
       # Both of these are originally hard-coded to gcc
       echo ${stdenv.cc.targetPrefix}cc > conf-cc
  -    echo ${stdenv.cc.targetPrefix}cc > conf-ld
  +    echo ${stdenv.cc.targetPrefix}cc ${stdenv.lib.optionalString stdenv.isDarwin "-Xlinker -x "}> conf-ld
     '';
   
     installPhase = ''
  
positive.code: 
    doCheck = true;
  
    buildInputs = stdenv.lib.optionals static [ stdenv.cc.libc stdenv.cc.libc.static ];
  
    postPatch = ''
      sed -i "s,\(#define RUNIT\) .*,\1 \"$out/bin/runit\"," src/runit.h
  
negative.code: { stdenv, fetchurl, darwin
  
  # Build runit-init as a static binary
  , static ? false
  