From fe00e4e94a2b55c8f88a40e02b37a87a8b2f3c5f Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 12 Sep 2022 10:05:42 +0200 Subject: [PATCH] flake: Fix devShell on aarch64-darwin LLDB is marked broken on all arches except for x86_64-linux. With this change, I can use `nix develop` on aarch64-darwin. --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index abcb2cb23a51a..8544f8921ef0d 100644 --- a/flake.nix +++ b/flake.nix @@ -92,8 +92,8 @@ prev.packages ++ ( with common.pkgs; - [lld_13 lldb cargo-flamegraph rust-analyzer] - ++ (lib.optional (stdenv.isx86_64 && stdenv.isLinux) cargo-tarpaulin) + [lld_13 cargo-flamegraph rust-analyzer] + ++ (lib.optionals (stdenv.isx86_64 && stdenv.isLinux) [cargo-tarpaulin lldb]) ); env = prev.env