Skip to content

Commit faa48b1

Browse files
committed
build: nix fix
1 parent 51d5d74 commit faa48b1

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
packages = {
2020
default = pkgs.rustPlatform.buildRustPackage {
2121
pname = "stamp-suite";
22-
version = "0.8.0";
22+
version = "0.9.0";
2323

2424
src = self;
2525

26-
cargoHash = "sha256-CDRH9tyEh6c6cww6qQYUUfT/rAltFssD8ogo3pwVLow=";
26+
# Regenerate after any Cargo.lock change: set to pkgs.lib.fakeHash,
27+
# run `nix build .#default`, and copy the `got:` hash from the error.
28+
cargoHash = "sha256-/HHpt2wz8PycXoQQkU6Gh+hT7DRuIlx1kKOIjwrZnGg=";
2729

2830
buildFeatures = allFeatures;
2931
# Honour --all-features for the cargo test phase too so the
@@ -48,9 +50,11 @@
4850

4951
clippy = pkgs.rustPlatform.buildRustPackage {
5052
pname = "stamp-suite-clippy";
51-
version = "0.8.0";
53+
version = "0.9.0";
5254
src = self;
53-
cargoHash = "sha256-CDRH9tyEh6c6cww6qQYUUfT/rAltFssD8ogo3pwVLow=";
55+
# Regenerate after any Cargo.lock change: set to pkgs.lib.fakeHash,
56+
# run `nix build .#default`, and copy the `got:` hash from the error.
57+
cargoHash = "sha256-/HHpt2wz8PycXoQQkU6Gh+hT7DRuIlx1kKOIjwrZnGg=";
5458
buildFeatures = allFeatures;
5559
nativeBuildInputs = [ pkgs.clippy ];
5660
buildPhase = ''

0 commit comments

Comments
 (0)