Skip to content

Commit

Permalink
version bumping examples
Browse files Browse the repository at this point in the history
  • Loading branch information
psionic-k committed Oct 17, 2023
1 parent a2ab864 commit 67e38ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
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.70.0";
rustVersion = "1.73.0";
packageFun = import ./Cargo.nix;
};

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.70.0";
rustVersion = "1.73.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/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.70.0";
rustVersion = "1.73.0";
packageFun = import ./Cargo.nix;

# If your specific build target requires a difference between Rust and
Expand Down
5 changes: 2 additions & 3 deletions examples/4-independent-packaging/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
flake-utils.follows = "cargo2nix/flake-utils";
nixpkgs.follows = "cargo2nix/nixpkgs";
rust-analyzer-src = {
url = "github:rust-lang/rust-analyzer/?rev=2e9f1204ca01c3e20898d4a67c8b84899d394a88";
url = "github:rust-lang/rust-analyzer/?rev=b1f89a84ab350091e6c20cfe30c2fab8d76b80e4";
flake = false;
};
};

outputs = inputs: with inputs;

# Build the output set for each default system, resulting in paths such as:
Expand All @@ -27,7 +26,7 @@
# create the workspace & dependencies package set
rustPkgs = pkgs.rustBuilder.makePackageSet {
# rust toolchain version
rustVersion = "1.70.0";
rustVersion = "1.73.0";
# nixified Cargo.lock
packageFun = import ./Cargo.nix;
ignoreLockHash = true;
Expand Down

0 comments on commit 67e38ea

Please sign in to comment.