Skip to content

Commit 32093ff

Browse files
committed
bump rust to 1.81 and set targets
1 parent 87a13c6 commit 32093ff

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

nix/ext/pg_mooncake.nix

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,19 @@
1212
}:
1313

1414
let
15-
rustVersion = "1.80.0";
16-
rustc = rust-bin.stable."${rustVersion}".rustc;
17-
cargo = rust-bin.stable."${rustVersion}".cargo;
15+
rustVersion = "1.81.0";
16+
targets = [
17+
"aarch64-apple-darwin"
18+
"x86_64-apple-darwin"
19+
"x86_64-unknown-linux-gnu"
20+
"aarch64-unknown-linux-gnu"
21+
];
22+
rustc = rust-bin.stable."${rustVersion}".default.override {
23+
inherit targets;
24+
};
25+
cargo = rust-bin.stable."${rustVersion}".default.override {
26+
inherit targets;
27+
};
1828
in
1929
stdenv.mkDerivation rec {
2030
pname = "pg_mooncake";

0 commit comments

Comments
 (0)