flake: fix `RUST_SRC_PATH`, add `x86_64-darwin` to systems

misc
Oystein Kristoffer Tveit 2024-05-05 14:05:33 +02:00
parent eb81d7c463
commit d482e9eaf6
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 3 additions and 3 deletions

View File

@ -5,12 +5,12 @@
fenix.inputs.nixpkgs.follows = "nixpkgs"; fenix.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, fenix }@inputs: outputs = { self, nixpkgs, fenix }@inputs:
let let
systems = [ systems = [
"x86_64-linux" "x86_64-linux"
"aarch64-linux" "aarch64-linux"
"x86_64-darwin"
"aarch64-darwin" "aarch64-darwin"
]; ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: let forAllSystems = f: nixpkgs.lib.genAttrs systems (system: let
@ -32,7 +32,7 @@
pkgs.grcov pkgs.grcov
pkgs.cargo-nextest pkgs.cargo-nextest
]; ];
RUST_SRC_PATH = "${toolchain.rust-src}/lib/rustlib/src/rust/"; RUST_SRC_PATH = "${toolchain.rust-src}/lib/rustlib/src/rust/library";
}); });
}; };
} }