anchor.diff:      platforms = [ "x86_64-linux" "x86_64-darwin" ];
       maintainers = [ maintainers.bhipple ];
     };
  -}
  + } // stdenvNoCC.lib.optionalAttrs stdenvNoCC.isLinux {
  +  # Since on Linux binaries are unmodified, we can make them
  +  # fixed-output derivations.
  +	outputHashAlgo = "sha256";
  +	outputHashMode = "recursive";
  +	outputHash = "101krzh2mjbfx8kvxim2zphdvgg7iijhbf9xdz3ad3ncgybxbdvw";
  + })
  
positive.code:       cp -r compilers_and_libraries_${version}/licensing/mkl/en/license.txt $out/lib/
        cp -r compilers_and_libraries_${version}/mac/compiler/lib/* $out/lib/
        cp -r compilers_and_libraries_${version}/mac/mkl/lib/* $out/lib/
    '' else ''
        mkdir -p $out/lib
  
  
negative.code:       cp license.txt $out/lib/
    '';
  
    # fixDarwinDylibName fails for libmkl_cdft_core.dylib because the
    # larger updated load commands do not fit. Use install_name_tool
    # explicitly and ignore the error.
    postFixup = stdenvNoCC.lib.optionalString stdenvNoCC.isDarwin ''
        for f in $out/lib/*.dylib; do
            install_name_tool -id $out/lib/$(basename $f) $f || true
        done
        install_name_tool -change @rpath/libiomp5.dylib $out/lib/libiomp5.dylib $out/lib/libmkl_intel_thread.dylib
        install_name_tool -change @rpath/libtbb.dylib $out/lib/libtbb.dylib $out/lib/libmkl_tbb_thread.dylib
        install_name_tool -change @rpath/libtbbmalloc.dylib $out/lib/libtbbmalloc.dylib $out/lib/libtbbmalloc_proxy.dylib
    '';
  
    # Per license agreement, do not modify the binary
    dontStrip = true;
    dontPatchELF = true;
  
    meta = with stdenvNoCC.lib; {
      description = "Intel Math Kernel Library";
  