anchor.diff:      # Fixup scripts that generate scripts. Not fixed up by patchShebangs below.
       substituteInPlace scripts/bootstrap/compile.sh \
           --replace /bin/sh ${customBash}/bin/bash
  +
  +    echo "build --experimental_distdir=${distDir}" >> .bazelrc
  +    echo "fetch --experimental_distdir=${distDir}" >> .bazelrc
       echo "build --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\"" >> .bazelrc
       echo "build --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\"" >> .bazelrc
       echo "build --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\"" >> .bazelrc
  
positive.code: , libcxx, CoreFoundation, CoreServices, Foundation
  }:
  
  stdenv.mkDerivation rec {
  
    version = "0.15.0";
  
negative.code: { stdenv, lib, fetchurl, runCommand, jdk, zip, unzip, bash, writeCBin, coreutils, makeWrapper, which, python, gnused
  # Always assume all markers valid (don't redownload dependencies).
  # Also, don't clean up environment variables.
  , enableNixHacks ? false
  