Skip to content

Commit

Permalink
bump rustc version
Browse files Browse the repository at this point in the history
Signed-off-by: Psionik K <[email protected]>
  • Loading branch information
psionic-k committed Jun 30, 2023
1 parent b0d5fba commit ff697df
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ A bare minimum flake.nix:
};
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;
};
Expand Down
2 changes: 1 addition & 1 deletion examples/1-hello-world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ to use to do their work.
# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.1";
packageFun = import ./Cargo.nix;
};
Expand Down
2 changes: 1 addition & 1 deletion examples/1-hello-world/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;
};

Expand Down
2 changes: 1 addition & 1 deletion examples/2-bigger-project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ following arguments:
# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;
# packageOverrides = pkgs: pkgs.rustBuilder.overrides.all; # Implied, if not specified
};
Expand Down
2 changes: 1 addition & 1 deletion examples/2-bigger-project/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;
# packageOverrides = pkgs: pkgs.rustBuilder.overrides.all; # Implied, if not specified
};
Expand Down
2 changes: 1 addition & 1 deletion examples/3-cross-compiling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Create a new file called [`flake.nix`]:
# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;
# If your specific build target requires a difference between Rust and
Expand Down
2 changes: 1 addition & 1 deletion examples/3-cross-compiling/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;

# If your specific build target requires a difference between Rust and
Expand Down
2 changes: 1 addition & 1 deletion examples/4-independent-packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ We will also pass a `workspaceSrc` argument to `makePackageSet`.
```nix
rustPkgs = pkgs.rustBuilder.makePackageSet {
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageFun = import ./Cargo.nix;
workspaceSrc = rust-analyzer-src
Expand Down
2 changes: 1 addition & 1 deletion examples/4-independent-packaging/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
# rust toolchain version
rustVersion = "1.66.1";
rustVersion = "1.70.0";
# nixified Cargo.lock
packageFun = import ./Cargo.nix;
ignoreLockHash = true;
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# for more info.
rustPkgs = pkgs.rustBuilder.makePackageSet {
packageFun = import ./Cargo.nix;
rustVersion = "1.66.1";
rustVersion = "1.70.0";
packageOverrides = pkgs: pkgs.rustBuilder.overrides.all;
};
# `rustPkgs` now contains all crates in the dependency graph.
Expand Down

0 comments on commit ff697df

Please sign in to comment.