Merge pull request #178114 from davidtwco/cargo-bisect-rustc-0.6.3

cargo-bisect-rustc: 0.6.0 -> 0.6.3

authored by

Mario Rodas and committed by
GitHub
810a3b81 d1c51f35

+16 -15
+16 -15
pkgs/development/tools/rust/cargo-bisect-rustc/default.nix
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "cargo-bisect-rustc"; 15 - version = "0.6.0"; 16 17 src = fetchFromGitHub { 18 owner = "rust-lang"; 19 repo = pname; 20 rev = "v${version}"; 21 - hash = "sha256-LEmILWVU6hbh2FmdnQVV1Ob2MQvj+/lCr1hdRoTIOkI="; 22 }; 23 24 patches = 25 let 26 - patchelfPatch = runCommand "0001-dynamically-patchelf-binaries.patch" { 27 - CC = stdenv.cc; 28 - patchelf = patchelf; 29 - libPath = "$ORIGIN/../lib:${lib.makeLibraryPath [ zlib ]}"; 30 - } 31 - '' 32 - export dynamicLinker=$(cat $CC/nix-support/dynamic-linker) 33 - substitute ${./0001-dynamically-patchelf-binaries.patch} $out \ 34 - --subst-var patchelf \ 35 - --subst-var dynamicLinker \ 36 - --subst-var libPath 37 - ''; 38 in 39 lib.optionals stdenv.isLinux [ patchelfPatch ]; 40 ··· 45 Security 46 ]; 47 48 - cargoSha256 = "Ls51DQ0yScRhpkuEInCfR45+/WeaUoG935w4BJvwSRk="; 49 50 meta = with lib; { 51 description = "Bisects rustc, either nightlies or CI artifacts";
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "cargo-bisect-rustc"; 15 + version = "0.6.3"; 16 17 src = fetchFromGitHub { 18 owner = "rust-lang"; 19 repo = pname; 20 rev = "v${version}"; 21 + hash = "sha256-TRcHeA4pOzODyzkQCGkdAWy3Bt2ltrOcpCMDu6n4k3k="; 22 }; 23 24 patches = 25 let 26 + patchelfPatch = runCommand "0001-dynamically-patchelf-binaries.patch" 27 + { 28 + CC = stdenv.cc; 29 + patchelf = patchelf; 30 + libPath = "$ORIGIN/../lib:${lib.makeLibraryPath [ zlib ]}"; 31 + } 32 + '' 33 + export dynamicLinker=$(cat $CC/nix-support/dynamic-linker) 34 + substitute ${./0001-dynamically-patchelf-binaries.patch} $out \ 35 + --subst-var patchelf \ 36 + --subst-var dynamicLinker \ 37 + --subst-var libPath 38 + ''; 39 in 40 lib.optionals stdenv.isLinux [ patchelfPatch ]; 41 ··· 46 Security 47 ]; 48 49 + cargoSha256 = "sha256-3I5V/JOxxy1+Cwkq9tuHMgHQ0eCfzAViJ4Gl+l8RHlE="; 50 51 meta = with lib; { 52 description = "Bisects rustc, either nightlies or CI artifacts";