Skip to content

Commit

Permalink
Update toolchain folder path (#44)
Browse files Browse the repository at this point in the history
Closes #37
  • Loading branch information
eureka-cpu authored Jul 18, 2024
1 parent 33c4b0f commit ee6da51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
inherit (pkgs) lib;

# Language toolchains
rustToolchain = pkgs.callPackage ./dev/rust-toolchain.nix { inherit fenix versatus; };
haskellToolchain = pkgs.callPackage ./dev/haskell-toolchain.nix pkgs;
rustToolchain = pkgs.callPackage ./toolchains/rust-toolchain.nix { inherit fenix versatus; };
haskellToolchain = pkgs.callPackage ./toolchains/haskell-toolchain.nix pkgs;

# Overrides the default crane rust-toolchain with fenix.
craneLib = (crane.mkLib pkgs).overrideToolchain rustToolchain.fenix-pkgs;
Expand Down Expand Up @@ -332,7 +332,7 @@
rust = final: prev: {
# This contains a lot of policy decisions which rust toolchain is used
craneLib = (self.inputs.crane.mkLib prev).overrideToolchain final.rustToolchain.fenix-pkgs;
rustToolchain = prev.callPackage ./dev/rust-toolchain.nix {
rustToolchain = prev.callPackage ./toolchains/rust-toolchain.nix {
inherit (self.inputs) fenix versatus;
};

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ee6da51

Please sign in to comment.