From 5f0417d14e78e352104dc158e7aa66429afbfbd5 Mon Sep 17 00:00:00 2001 From: Anunaya Srivastava Date: Sat, 11 Nov 2023 14:36:26 +0530 Subject: [PATCH] Fix nix-shell on macos (#10591) strace is unavailable on macos. flake.nix is updated to handle this scenario. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e8861a139f..172f91d271 100644 --- a/flake.nix +++ b/flake.nix @@ -64,7 +64,7 @@ shfmt sqlc # strace is not available on OSX - (if system == "aarch64-darwin" then null else strace) + (if pkgs.stdenv.hostPlatform.isDarwin then null else strace) terraform typos vim