1 diff --git a/compileopts/config.go b/compileopts/config.go
2 index 39fc4f2a..fb5d4575 100644
3 --- a/compileopts/config.go
4 +++ b/compileopts/config.go
5 @@ -269,6 +269,7 @@ func (c *Config) CFlags() []string {
6 root := goenv.Get("TINYGOROOT")
7 cflags = append(cflags,
8 "--sysroot="+filepath.Join(root, "lib/macos-minimal-sdk/src"),
9 + "-isystem", filepath.Join(root, "lib/macos-minimal-sdk/src/usr/include"), // necessary for Nix
12 root := goenv.Get("TINYGOROOT")