Commit 976a5bc9 authored by Guillaume Girol's avatar Guillaume Girol Committed by Yt
Browse files

nix-du: 0.4.1 -> 0.5.0

fix build with nix 2.7
parent 6a201dc7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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";