Browse Source

Fix macOS build

Sergey Shulepov 4 năm trước cách đây
mục cha
commit
e941f04891
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
   '';
 }