summaryrefslogtreecommitdiff
path: root/parts/toolchain.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-07 16:18:29 -0400
committerseth <[email protected]>2023-09-07 17:15:26 -0400
commitf741b550612103dafc1b2ff405de6a816ac5d760 (patch)
tree12842ff11c7b9afc91923463f1d1cdde553117f1 /parts/toolchain.nix
parentd5b333e95878fb895bc6bba402b9a3d920f737a3 (diff)
flake: switch to nixpkgs rust infra
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;
- };
- };
-}