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

This commit is contained in:
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";
};
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";
});
};
}