f3d: condition autoPatchelfHook on isElf

should fix darwin
This commit is contained in:
Peder Bergebakken Sundt
2024-05-23 11:17:39 +02:00
parent 1a38124e60
commit 67d4cea69d
@@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
cmake
help2man
gzip
] ++ lib.optionals stdenv.hostPlatform.isElf [
# https://github.com/f3d-app/f3d/pull/1217
autoPatchelfHook
];