nvme-cli: only use libhugetlbfs if not broken

This commit is contained in:
K900 2023-10-29 23:02:58 +03:00
parent 5061ffb8c3
commit 334cdcb78f

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
libnvme
json_c
zlib
] ++ lib.optionals (!(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isMusl)) [
] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform libhugetlbfs) [
libhugetlbfs
];