Skip to content

Commit 648a374

Browse files
authored
cargo-aoc: use finalAttrs pattern (#384199)
2 parents 881b01b + e66f382 commit 648a374

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/by-name/ca/cargo-aoc/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
versionCheckHook,
66
nix-update-script,
77
}:
8-
rustPlatform.buildRustPackage rec {
8+
rustPlatform.buildRustPackage (finalAttrs: {
99
pname = "cargo-aoc";
1010
version = "0.3.8";
1111

1212
src = fetchCrate {
13-
inherit pname version;
13+
inherit (finalAttrs) pname version;
1414
hash = "sha256-5CjY91515GeLzmLJiGjfbBfIMPr32EA65X/rriKPWRY=";
1515
};
1616

@@ -33,4 +33,4 @@ rustPlatform.buildRustPackage rec {
3333
maintainers = with lib.maintainers; [ defelo ];
3434
mainProgram = "cargo-aoc";
3535
};
36-
}
36+
})

0 commit comments

Comments
 (0)