Skip to content

Commit

Permalink
flake: Fix devShell on aarch64-darwin (#3810)
Browse files Browse the repository at this point in the history
LLDB is marked broken on all arches except for x86_64-linux. With this
change, I can use `nix develop` on aarch64-darwin.
  • Loading branch information
the-mikedavis authored Sep 13, 2022
1 parent d38950b commit ec81ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@
prev.packages
++ (
with common.pkgs;
[lld_13 lldb cargo-flamegraph rust-analyzer]
[lld_13 cargo-flamegraph rust-analyzer]
++ (lib.optional (stdenv.isx86_64 && stdenv.isLinux) cargo-tarpaulin)
++ (lib.optional stdenv.isLinux lldb)
);
env =
prev.env
Expand Down

0 comments on commit ec81ec1

Please sign in to comment.