summaryrefslogtreecommitdiff
path: root/parts/toolchain.nix
diff options
context:
space:
mode:
Diffstat (limited to 'parts/toolchain.nix')
-rw-r--r--parts/toolchain.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/parts/toolchain.nix b/parts/toolchain.nix
deleted file mode 100644
index e2201f9..0000000
--- a/parts/toolchain.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{inputs, ...}: {
- perSystem = {system, ...}: let
- pkgs = import inputs.nixpkgs {
- inherit system;
- overlays = [inputs.fenix.overlays.default];
- };
-
- toolchain = with pkgs.fenix;
- with stable;
- combine [
- cargo
- rustc
- rustfmt
- clippy
- targets."x86_64-unknown-linux-musl".stable.rust-std
- ];
- in {
- _module.args = {
- inherit pkgs toolchain;
-
- craneLib = (inputs.crane.mkLib pkgs).overrideToolchain toolchain;
- };
- };
-}