nix-du: 0.4.1 -> 0.5.0

fix build with nix 2.7
This commit is contained in:
Guillaume Girol 2022-03-13 12:00:00 +00:00 committed by Yt
parent 6a201dc719
commit 976a5bc9ff

View File

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec {
pname = "nix-du";
version = "0.4.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "symphorien";
repo = "nix-du";
rev = "v${version}";
sha256 = "0v6hixj81aa6g3sddny46i0yqaaqv6krp5xadj0xz1g77cb8xy2w";
sha256 = "sha256-NnoCoiYTXci7f9MXsxEhoYHwPsaAAuK2wSrDye2+SYM=";
};
cargoSha256 = "11jaks6adsvrvxlqqw3glvn4ff7xh9j35ayfrl89rb4achvqp7xn";
cargoSha256 = "sha256-X5181gZtvnUHZAqMjNARRVFq12LuLJfPP5ZOWxBRxXk=";
doCheck = true;
checkInputs = [ nix graphviz ];
@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
nlohmann_json
] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
meta = with lib; {
description = "A tool to determine which gc-roots take space in your nix store";