diff options
Diffstat (limited to 'pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh')
-rw-r--r-- | pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh b/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh new file mode 100644 index 0000000000000..6c3fda4e95ac9 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh @@ -0,0 +1,6 @@ +# See pkgs/build-support/setup-hooks/role.bash +getHostRole + +export NIX_LDFLAGS${role_post}+=" -legacy" +export NIX_CFLAGS_COMPILE${role_post}+=" -isystem @out@/0-include" +export NIX_CFLAGS_COMPILE${role_post}+=" -isystem @out@/1-include" |