summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSergey Shulepov <s.pepyakin@gmail.com>2020-12-10 16:43:29 +0100
committerZach White <skullydazed@drpepper.org>2021-01-11 08:05:28 -0800
commite941f048919bba052fd326eadc5acd2347e6756e (patch)
tree20c4b5676268fea410b261643b9a6cd484001ecd /shell.nix
parent11bd51441ba8dac645d0a61c4e700158fd4cc148 (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
'';
}