mirror of
https://github.com/helix-editor/tree-house.git
synced 2025-10-05 16:02:44 +02:00
flake: Fix compatibility with aarch64 macOS
This commit is contained in:
29
flake.nix
29
flake.nix
@@ -45,19 +45,22 @@
|
||||
toolchain = pkgs.rust-bin.stable.latest.default;
|
||||
in
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
(toolchain.override {
|
||||
extensions = [
|
||||
"rust-src"
|
||||
"clippy"
|
||||
"llvm-tools-preview"
|
||||
];
|
||||
})
|
||||
rust-analyzer
|
||||
cargo-flamegraph
|
||||
cargo-llvm-cov
|
||||
valgrind
|
||||
];
|
||||
nativeBuildInputs = with pkgs;
|
||||
[
|
||||
(toolchain.override {
|
||||
extensions = [
|
||||
"rust-src"
|
||||
"clippy"
|
||||
"llvm-tools-preview"
|
||||
];
|
||||
})
|
||||
rust-analyzer
|
||||
]
|
||||
++ (lib.optionals stdenv.isLinux [
|
||||
cargo-llvm-cov
|
||||
cargo-flamegraph
|
||||
valgrind
|
||||
]);
|
||||
RUST_BACKTRACE = "1";
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user