git.iko.soy/typeable/nixpkgs
on master help sign in
nix-du: 0.4.1 -> 0.5.0

fix build with nix 2.7

commit976a5bc9fffaad437069df4d06edf0315f7a020f authorGuillaume Girol <symphorien+git@xlumurb.eu> dateSun 13 Mar 2022, 12:00 (5 years ago) parent6a201dc
1 file changed+4−4
pkgs/tools/package-management/nix-du/default.nix+4−4
pkgs/tools/package-management/nix-du/default.nix+4−4
@@ -12,16 +12,16 @@
1212
1313rustPlatform.buildRustPackage rec {
1414 pname = "nix-du";
15− version = "0.4.1";
15+ version = "0.5.0";
1616
1717 src = fetchFromGitHub {
1818 owner = "symphorien";
1919 repo = "nix-du";
2020 rev = "v${version}";
21− sha256 = "0v6hixj81aa6g3sddny46i0yqaaqv6krp5xadj0xz1g77cb8xy2w";
21+ sha256 = "sha256-NnoCoiYTXci7f9MXsxEhoYHwPsaAAuK2wSrDye2+SYM=";
2222 };
2323
24− cargoSha256 = "11jaks6adsvrvxlqqw3glvn4ff7xh9j35ayfrl89rb4achvqp7xn";
24+ cargoSha256 = "sha256-X5181gZtvnUHZAqMjNARRVFq12LuLJfPP5ZOWxBRxXk=";
2525
2626 doCheck = true;
2727 checkInputs = [ nix graphviz ];
@@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
3232 nlohmann_json
3333 ] ++ lib.optionals stdenv.isDarwin [ Security ];
3434
35− nativeBuildInputs = [ pkg-config ];
35+ nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
3636
3737 meta = with lib; {
3838 description = "A tool to determine which gc-roots take space in your nix store";