mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
zfs: libtirpc dep on musl
This commit is contained in:
parent
8349d73c8f
commit
d6ffaac4ac
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# Userspace dependencies
|
# Userspace dependencies
|
||||||
, zlib, libuuid, python, attr, openssl
|
, zlib, libuuid, python, attr, openssl
|
||||||
|
, libtirpc
|
||||||
|
|
||||||
# Kernel dependencies
|
# Kernel dependencies
|
||||||
, kernel ? null, spl ? null, splUnstable ? null, splLegacyCrypto ? null
|
, kernel ? null, spl ? null, splUnstable ? null, splLegacyCrypto ? null
|
||||||
@ -49,7 +50,8 @@ let
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
optionals buildKernel [ spl ]
|
optionals buildKernel [ spl ]
|
||||||
++ optionals buildUser [ zlib libuuid python attr ]
|
++ 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
|
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
|
||||||
NIX_CFLAGS_LINK = "-lgcc_s";
|
NIX_CFLAGS_LINK = "-lgcc_s";
|
||||||
|
Loading…
Reference in New Issue
Block a user