zfs: libtirpc dep on musl
This commit is contained in:
parent
8349d73c8f
commit
d6ffaac4ac
@ -4,6 +4,7 @@
|
||||
|
||||
# Userspace dependencies
|
||||
, zlib, libuuid, python, attr, openssl
|
||||
, libtirpc
|
||||
|
||||
# Kernel dependencies
|
||||
, kernel ? null, spl ? null, splUnstable ? null, splLegacyCrypto ? null
|
||||
@ -49,7 +50,8 @@ let
|
||||
buildInputs =
|
||||
optionals buildKernel [ spl ]
|
||||
++ optionals buildUser [ zlib libuuid python attr ]
|
||||
++ optionals (buildUser && (isUnstable || isLegacyCrypto)) [ openssl ];
|
||||
++ optionals (buildUser && (isUnstable || isLegacyCrypto)) [ openssl ]
|
||||
++ optional stdenv.hostPlatform.isMusl [ libtirpc ];
|
||||
|
||||
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
|
||||
NIX_CFLAGS_LINK = "-lgcc_s";
|
||||
|
Loading…
Reference in New Issue
Block a user