Przeglądaj źródła

Fix macOS build

Sergey Shulepov 4 lat temu
rodzic
commit
e941f04891
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      shell.nix

+ 1 - 1
shell.nix

@@ -86,6 +86,6 @@ mkShell {
   shellHook = ''
     # Prevent the avr-gcc wrapper from picking up host GCC flags
     # like -iframework, which is problematic on Darwin
-    unset NIX_TARGET_CFLAGS_COMPILE
+    unset NIX_CFLAGS_COMPILE_FOR_TARGET
   '';
 }