diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2022-12-03 06:48:24 -0800 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2022-12-03 12:21:08 -0800 |
commit | d812d3939bc9228eae18f32540db4f514f9759dc (patch) | |
tree | a34f4973feadb61c3cd43deb5d6b5b19683ff696 | |
parent | 813836d64fa57285d108f0dbf2356457ccd304e3 (diff) | |
download | nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.tar nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.tar.gz nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.tar.bz2 nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.tar.lz nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.tar.xz nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.tar.zst nixlib-d812d3939bc9228eae18f32540db4f514f9759dc.zip |
cargo-bisect-rustc: 0.6.4 -> 0.6.5
-rw-r--r-- | pkgs/development/tools/rust/cargo-bisect-rustc/default.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix b/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix index 6aea40cf0e73..563a8cceccd2 100644 --- a/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix +++ b/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , rustPlatform , pkg-config , openssl @@ -12,13 +13,13 @@ rustPlatform.buildRustPackage rec { pname = "cargo-bisect-rustc"; - version = "0.6.4"; + version = "0.6.5"; src = fetchFromGitHub { owner = "rust-lang"; repo = pname; rev = "v${version}"; - hash = "sha256-dJpdAg+A7TYm6bGq73aA15hIymbJ56ScyygQLiEboak="; + hash = "sha256-E9birF4HmyDZKmwuTb5K4AMmvZQFTmnhFGSxD5bS2qQ="; }; patches = @@ -37,7 +38,13 @@ rustPlatform.buildRustPackage rec { --subst-var libPath ''; in - lib.optionals stdenv.isLinux [ patchelfPatch ]; + lib.optionals stdenv.isLinux [ patchelfPatch ] ++ [ + (fetchpatch { + name = "fix-cli-date-bounds-checking.patch"; + url = "https://github.com/rust-lang/cargo-bisect-rustc/commit/baffa98e1a1ae53f6f3605303e0d765015d9d3ae.patch"; + hash = "sha256-IQlwQvaPUzPK5T4Mbsrdt7Ea3elaPCw2pBCCdBhjtzM="; + }) + ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ @@ -46,16 +53,15 @@ rustPlatform.buildRustPackage rec { Security ]; - cargoHash = "sha256-Y/CQcIgdG8dCvPF5bmJDySmgzRi6lFU/aJxkyUjYlAM="; + cargoHash = "sha256-7tqo8cxAzoDfTU372uW1qUhm+qqyRhz8bQ7oMiRU528="; checkFlags = [ - "--skip cli_tests" # https://github.com/rust-lang/cargo-bisect-rustc/issues/226 "--skip test_github" # requires internet ]; meta = with lib; { description = "Bisects rustc, either nightlies or CI artifacts"; - homepage = "https://github.com/rust-lang/${pname}"; + homepage = "https://github.com/rust-lang/cargo-bisect-rustc"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ davidtwco ]; }; |