Browse Source

Fix macOS build

Sergey Shulepov 4 years ago
parent
commit
e941f04891
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shell.nix

+ 1 - 1
shell.nix

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