anchor.diff:      sed -i src/code/target-load.lisp -e \
         '/date defaulted-source/i(or (and (= 2208988801 (file-write-date defaulted-source-truename)) (= 2208988801 (file-write-date defaulted-fasl-truename)))'
   
  -    # Fix software version retrieval
  -    sed -e "s@/bin/uname@$(command -v uname)@g" -i src/code/*-os.lisp
  -
       # Fix the tests
       sed -e '/deftest pwent/inil' -i contrib/sb-posix/posix-tests.lisp
       sed -e '/deftest grent/inil' -i contrib/sb-posix/posix-tests.lisp
  
positive.code: { stdenv, fetchurl, sbclBootstrap, sbclBootstrapHost ? "${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit" }:
  
  stdenv.mkDerivation rec {
    name    = "sbcl-${version}";
  
negative.code: 
      substituteInPlace src/runtime/Config.x86-64-darwin \
        --replace mmacosx-version-min=10.4 mmacosx-version-min=10.5
    ''
    + (if purgeNixReferences
      then
        # This is the default location to look for the core; by default in $out/lib/sbcl
        ''
          sed 's@^\(#define SBCL_HOME\) .*$@\1 "/no-such-path"@' \
            -i src/runtime/runtime.c
        ''
      else
        # Fix software version retrieval
        ''
          sed -e "s@/bin/uname@$(command -v uname)@g" -i src/code/*-os.lisp
        ''
      );
  
  
    preBuild = ''
      export INSTALL_ROOT=$out
  