From bee835b38e16033f71037552ea63b7273e7d7ce1 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 5 May 2024 14:05:33 +0200 Subject: [PATCH] flake: fix `RUST_SRC_PATH`, add `x86_64-darwin` to systems --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index bc776a5..bb812c9 100644 --- a/flake.nix +++ b/flake.nix @@ -5,12 +5,12 @@ fenix.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = { self, nixpkgs, fenix }@inputs: - let + let systems = [ "x86_64-linux" "aarch64-linux" + "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: let @@ -32,7 +32,7 @@ pkgs.grcov pkgs.cargo-nextest ]; - RUST_SRC_PATH = "${toolchain.rust-src}/lib/rustlib/src/rust/"; + RUST_SRC_PATH = "${toolchain.rust-src}/lib/rustlib/src/rust/library"; }); }; }