anchor.diff:        substituteInPlace tools/objc/j2objc_dead_code_pruner.py --replace "$!/usr/bin/python2.7" "#!${python27}/bin/python"
   
         # md5sum is part of coreutils
  -      sed -i 's|/sbin/md5|md5sum|' \
  +      sed -i 's|/sbin/md5|md5sum|g' \
           src/BUILD
   
         # substituteInPlace is rather slow, so prefilter the files with grep
  
positive.code:       fetch --distdir=${distDir}
        build --copt="$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt="/g')"
        build --host_copt="$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt="/g')"
        build --linkopt="$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --linkopt="/g')"
        build --host_linkopt="$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --host_linkopt="/g')"
        build --linkopt="-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt="-Wl,/g')"
        build --host_linkopt="-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt="-Wl,/g')"
        build --host_javabase='@local_jdk//:jdk'
  
negative.code: # updater
  , python27, python3, writeScript
  # Apple dependencies
  , cctools, llvmPackages_8, CoreFoundation, CoreServices, Foundation
  # Allow to independently override the jdks used to build and run respectively
  , buildJdk, runJdk
  , buildJdkName
  