diff options
author | Will Dietz <w@wdtz.org> | 2018-03-24 13:49:05 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-03-25 18:07:59 -0500 |
commit | d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6 (patch) | |
tree | f89d465b383b3c6640d83c66e5f1d6d9f2719ba1 | |
parent | 8349d73c8f57606f95e2b2ffee65e8e9a060ea45 (diff) | |
download | nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.tar nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.tar.gz nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.tar.bz2 nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.tar.lz nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.tar.xz nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.tar.zst nixlib-d6ffaac4ace8d9427a9618d2f2d08a14cf3861c6.zip |
zfs: libtirpc dep on musl
-rw-r--r-- | pkgs/os-specific/linux/zfs/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index aac1576261d4..6088e86218d1 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -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"; |