Skip to content

Commit 9332f6d

Browse files
committed
we don't need to build rust-stable, nixpkgs has a recent one
1 parent 5ba8cc0 commit 9332f6d

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
};
151151

152152
# Define test-runner package.
153-
test-runner = pkgs.rustPlatform-stable.buildRustPackage {
153+
test-runner = pkgs.rustPlatform.buildRustPackage {
154154
pname = "test-runner";
155155
version = "0.1.0";
156156
src = ./test-runner;

nix/ic-wasm.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pkgs: with pkgs.llvmPackages_19; pkgs.rustPlatform-stable.buildRustPackage rec {
1+
pkgs: with pkgs.llvmPackages_19; pkgs.rustPlatform.buildRustPackage rec {
22
pname = "ic-wasm";
33
version = builtins.substring 0 7 src.rev;
44
src = pkgs.sources.ic-wasm-src;

nix/pkgs.nix

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141
)
4242

43-
# Rust Nightly & Stable
43+
# Rust Nightly
4444
rust-overlay.overlays.default
4545
(self: super: {
4646
# When you change the rust-nightly version,
@@ -49,13 +49,6 @@
4949
extensions = [ "rust-src" ];
5050
targets = [ "wasm32-wasip1" ];
5151
};
52-
53-
rust-stable = self.rust-bin.stable."1.94.1".default;
54-
55-
rustPlatform-stable = self.makeRustPlatform rec {
56-
rustc = self.rust-stable;
57-
cargo = rustc;
58-
};
5952
})
6053

6154
# wasm-profiler

0 commit comments

Comments
 (0)