From 07a31ed0d0fd9c68314ac36984d277b2976536fb Mon Sep 17 00:00:00 2001 From: kczulko Date: Tue, 12 Mar 2024 10:56:58 +0100 Subject: [PATCH] Minor changes --- flake.nix | 7 +------ rust-toolchain.toml | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 9d7e774..21a4484 100644 --- a/flake.nix +++ b/flake.nix @@ -11,12 +11,7 @@ let pkgs = import nixpkgs { inherit system; }; - mkLinkerPath = {cc, ...}: - # let - # inherit (stdenv) cc; - # in - "${cc}/bin/${cc.targetPrefix}cc"; - + mkLinkerPath = {cc, ...}: "${cc}/bin/${cc.targetPrefix}cc"; in { devShells.default = with pkgs; mkShell { diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 37d505d..8403735 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,4 +2,4 @@ channel = "nightly-2024-02-04" components = [ "rustc" ] targets = [ "x86_64-pc-windows-gnu", "aarch64-unknown-linux-gnu", "x86_64-pc-windows-gnu" ] -profile = "minimal" \ No newline at end of file +profile = "minimal"