Skip to content

Commit 9ee04ae

Browse files
committed
tkgl: try to fix build on darwin
1 parent baea857 commit 9ee04ae

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkgs/by-name/tk/tkgl/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ tcl.mkTclDerivation {
2929
"--with-tkinclude=${lib.getDev tk}/include"
3030
];
3131

32+
env.NIX_CFLAGS_COMPILE = lib.optionals stdenv.hostPlatform.isDarwin [
33+
"-Wno-error=unguarded-availability"
34+
];
35+
3236
installTargets = [
3337
"install-lib-binaries"
3438
];

0 commit comments

Comments
 (0)