mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
package.nix: Disable GC on OpenBSD
Nix fails to build on OpenBSD with a linking error due to a non-found
symbol in boehm-gc. Just disable the GC until we can find a proper
workaround.
(cherry picked from commit fecc1ca205
)
This commit is contained in:
parent
d6ece7e94a
commit
0ae90918db
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@
|
|||
#
|
||||
# Temporarily disabled on Windows because the `GC_throw_bad_alloc`
|
||||
# symbol is missing during linking.
|
||||
, enableGC ? !stdenv.hostPlatform.isWindows
|
||||
#
|
||||
# Disabled on OpenBSD because of missing `_data_start` symbol while linking
|
||||
, enableGC ? !stdenv.hostPlatform.isWindows && !stdenv.hostPlatform.isOpenBSD
|
||||
|
||||
# Whether to enable Markdown rendering in the Nix binary.
|
||||
, enableMarkdown ? !stdenv.hostPlatform.isWindows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue