Skip to content

Commit e453e40

Browse files
committed
Fix tracy on darwin
1 parent 5d8c7d8 commit e453e40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@
103103
in {
104104
inherit hlsSources;
105105

106+
# can remove once https://github.com/NixOS/nixpkgs/pull/136818 is merged
107+
tracy = prev.tracy.overrideAttrs (old: {
108+
NIX_CFLAGS_COMPILE = old.NIX_CFLAGS_COMPILE ++ lib.optional stdenv.isDarwin "-Wno-format-security";
109+
});
110+
106111
# Haskell packages extended with our packages
107112
hlsHpkgs = compiler: extended haskell.packages.${compiler};
108113

0 commit comments

Comments
 (0)