Selaa lähdekoodia

Fix macOS build

Sergey Shulepov 4 vuotta sitten
vanhempi
commit
e941f04891
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
   '';
 }