anchor.diff:  
     makeFlags = [ "DMD=$DMD" ];
   
  -  fixNames = if stdenv.hostPlatform.isDarwin then ''
  +  fixNames = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin  ''
       fixDarwinDylibNames() {
         local flags=()
   
  
positive.code:   hardeningDisable = [ "fortify" ];
  
    postUnpack = ''
        patchShebangs .
    ''
  
    + stdenv.lib.optionalString (!bootstrapVersion) ''
  
negative.code: 
      fixDarwinDylibNames $(find "$(pwd)/lib" -name "*.dylib")
      export DYLD_LIBRARY_PATH=$(pwd)/lib
    '';
  
    # https://github.com/ldc-developers/ldc/issues/2497#issuecomment-459633746
    additionalExceptions = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin
      "|druntime-test-shared";
  
    doCheck = !bootstrapVersion;
  
  