anchor.diff:      ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
     autoPatchelfIgnoreMissingDeps = true;
     buildInputs = lib.optionals (os == "linux") [ pkgs.zlib ];
  -  patchInstructions = lib.optionalString (os == "linux") (''
  +  patchInstructions = ''
       patchShebangs .
   
       # TODO: allow this stuff
  
positive.code:     done
  
      # Patch executables
      autoPatchelf prebuilt/linux-x86_64
  
      # wrap
      for progname in ndk-build; do
  
negative.code:     for progname in ndk-build; do
          ln -sf ../libexec/android-sdk/ndk-bundle/$progname $out/bin/$progname
      done
    '';
    noAuditTmpdir = true; # Audit script gets invoked by the build/ component in the path for the make standalone script
  }
  