Skip to content

Commit 5f0417d

Browse files
authored
Fix nix-shell on macos (#10591)
strace is unavailable on macos. flake.nix is updated to handle this scenario.
1 parent a4f1319 commit 5f0417d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
shfmt
6565
sqlc
6666
# strace is not available on OSX
67-
(if system == "aarch64-darwin" then null else strace)
67+
(if pkgs.stdenv.hostPlatform.isDarwin then null else strace)
6868
terraform
6969
typos
7070
vim

0 commit comments

Comments
 (0)