anchor.diff:  
     cargoSha256 = "0ghjrx7y25s6rjp06h0iyv4195x7daj57bqza01i1j4hm5nkhqhi";
   
  -  nativeBuildInputs = [ pkgconfig ];
  +  nativeBuildInputs = [ makeWrapper pkgconfig ];
   
     buildInputs = [
       curl zlib
  
positive.code: { stdenv, lib, runCommand, patchelf
  , fetchFromGitHub, rustPlatform
  , pkgconfig, curl, zlib, Security, CoreServices }:
  
  rustPlatform.buildRustPackage rec {
    pname = "rustup";
  
negative.code:   cargoBuildFlags = [ "--features no-self-update" ];
  
    patches = lib.optionals stdenv.isLinux [
      (runCommand "0001-dynamically-patchelf-binaries.patch" { CC=stdenv.cc; patchelf = patchelf; libPath = "$ORIGIN/../lib:${libPath}"; } ''
       export dynamicLinker=$(cat $CC/nix-support/dynamic-linker)
       substitute ${./0001-dynamically-patchelf-binaries.patch} $out \
         --subst-var patchelf \
         --subst-var dynamicLinker \
         --subst-var libPath
      '')
    ];
  
    doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
  