Skip to content

Commit

Permalink
override rust toolchain in crane
Browse files Browse the repository at this point in the history
  • Loading branch information
jost-s committed May 31, 2024
1 parent bdb9e61 commit b45957f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
if system == "x86_64-darwin"
then pkgs.darwin.apple_sdk_10_12
else pkgs.darwin.apple_sdk_11_0;
craneLib = (inputs.crane.mkLib pkgs).overrideToolchain rust;
in
craneLib.buildPackage {
pname = "hc-launch";
Expand All @@ -144,6 +145,7 @@
pkgs.overrideSDK pkgs.stdenv "11.0"
else
pkgs.stdenv;

# only build hc-launch binary
cargoExtraArgs = "--bin hc-launch";
# Use Launcher sources as defined in input dependencies and include only those files defined in the
Expand Down

0 comments on commit b45957f

Please sign in to comment.