瀏覽代碼

Fix macOS build

Sergey Shulepov 4 年之前
父節點
當前提交
e941f04891
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
   '';
 }