Bump cargo-bundle and cargo-about version in nix (#27803)
We updated our cargo-bundle fork, and this adds to our override to make sure we have the latest version. cargo-about also released a new version upstream which was picked up in nixpkgs, so I've `nix flake update`'d and changed that version as well. Thanks to @niklaskorz for [pinging me](https://github.com/NixOS/nixpkgs/pull/392319#issuecomment-2746122094) about this. You should be able to drop the patch next time you update. Release Notes: - N/A
This commit is contained in:
parent
76c46c5bab
commit
50ad71a630
3 changed files with 27 additions and 19 deletions
|
@ -95,15 +95,23 @@ let
|
|||
++ lib.optionals stdenv.hostPlatform.isLinux [ makeWrapper ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# TODO: move to overlay so it's usable in the shell
|
||||
(cargo-bundle.overrideAttrs (old: {
|
||||
version = "0.6.0-zed";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zed-industries";
|
||||
repo = "cargo-bundle";
|
||||
rev = "zed-deploy";
|
||||
hash = "sha256-OxYdTSiR9ueCvtt7Y2OJkvzwxxnxu453cMS+l/Bi5hM=";
|
||||
};
|
||||
}))
|
||||
(cargo-bundle.overrideAttrs (
|
||||
new: old: {
|
||||
version = "0.6.1-zed";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zed-industries";
|
||||
repo = "cargo-bundle";
|
||||
rev = "2be2669972dff3ddd4daf89a2cb29d2d06cad7c7";
|
||||
hash = "sha256-cSvW0ND148AGdIGWg/ku0yIacVgW+9f1Nsi+kAQxVrI=";
|
||||
};
|
||||
# https://nixos.asia/en/buildRustPackage
|
||||
cargoDeps = old.cargoDeps.overrideAttrs ({
|
||||
inherit src;
|
||||
name = "${new.pname}-${new.version}-vendor.tar.gz";
|
||||
outputHash = "sha256-Q49FnXNHWhvbH1LtMUpXFcvGKu9VHwqOXXd+MjswO64=";
|
||||
});
|
||||
}
|
||||
))
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue