From e941f048919bba052fd326eadc5acd2347e6756e Mon Sep 17 00:00:00 2001 From: Sergey Shulepov Date: Thu, 10 Dec 2020 16:43:29 +0100 Subject: [PATCH] Fix macOS build --- shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 7814a10d1a8..6cfda2da9a9 100644 --- a/shell.nix +++ b/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 ''; }