From f741b550612103dafc1b2ff405de6a816ac5d760 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 7 Sep 2023 16:18:29 -0400 Subject: flake: switch to nixpkgs rust infra --- parts/toolchain.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 parts/toolchain.nix (limited to 'parts/toolchain.nix') 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; - }; - }; -} -- cgit v1.2.3