Skip to content

Commit cb9b302

Browse files
Apply suggestions from code review
Co-authored-by: Yuval Kogman <nothingmuch@woobling.org>
1 parent 8655ffd commit cb9b302

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

flake.nix

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@
2929
(import ./nix/overlays/cargo-honggfuzz.nix)
3030
];
3131
in
32-
{
33-
overlays = {
34-
cargo-honggfuzz = import ./nix/overlays/cargo-honggfuzz.nix;
35-
};
36-
}
37-
// flake-utils.lib.eachDefaultSystem (
32+
flake-utils.lib.eachDefaultSystem (
3833
system:
3934
let
4035
pkgs = import nixpkgs {
@@ -48,6 +43,7 @@
4843
nightly = prev.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
4944
};
5045
})
46+
(import ./nix/overlays/cargo-honggfuzz.nix)
5147
];
5248
};
5349

@@ -180,6 +176,7 @@
180176
cargo-nextest
181177
cargo-watch
182178
cargo-fuzz
179+
cargo-honggfuzz
183180
aflplusplus
184181
honggfuzz
185182
rust-analyzer

nix/overlays/cargo-honggfuzz.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
final: prev: {
2-
cargo-hongfuzz = prev.callPackage ../pkgs/cargo-honggfuzz.nix { };
2+
cargo-honggfuzz = prev.callPackage ../pkgs/cargo-honggfuzz.nix { };
33
}

nix/pkgs/cargo-honggfuzz.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
rustPlatform.buildRustPackage rec {
88
pname = "honggfuzz";
99
# last tagged version is far behind master
10-
version = "0.5.55";
10+
version = "0.5.58";
1111

1212
src = fetchCrate {
1313
inherit pname version;
14-
sha256 = "sha256-ICBhvcv4SqeY9Y34EQmxTTxlo4LA4hsBLa2QK73pu38=";
14+
sha256 = "sha256-3KeRZsuJFGwQQQVdnGCYLIkKjILLgbvCzasInCkYNB0=";
1515
};
1616

17-
cargoHash = "sha256-k5cZhx9Q4yZILW9b3k9zOZNO5f2iqPTsrUsDu8mzLaE=";
17+
cargoHash = "sha256-N0MGYcVw3dx7MEtwbehPGaTtIgxBv08nN/u8/cdWQEc=";
1818

1919
buildInputs = lib.optionals stdenv.isDarwin [ ];
2020
}

0 commit comments

Comments
 (0)