summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSergey Shulepov <s.pepyakin@gmail.com>2020-12-10 16:43:29 +0100
committerDrashna Jael're <drashna@live.com>2021-01-12 22:46:14 -0800
commitfa610bc9b19ee5044270d78d86a0b8e95081d5dd (patch)
tree211373ba7c969c0bc33394a949d7b2271b57c5a8 /shell.nix
parent47a047a9eeab21933fc9d61f9ce084279860c7ba (diff)
Fix macOS build
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index 7814a10d1a..6cfda2da9a 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
'';
}