hyprland: fix eval failure on darwin

Darwin is not a supported platform, but the `meta.platform` check never
kicks in. That's because there is a `throw` in `useMoldLinker`
triggering for darwin. This, among many others, causes CI to require
hacky workarounds for evaluation.

By not adding this for darwin, eval up to `meta.platforms` will succeed
and the package then be filtered out correctly.
This commit is contained in:
Wolfgang Walther
2025-07-20 14:19:10 +02:00
parent f0faa55136
commit 321430385f
+3 -1
View File
@@ -73,7 +73,9 @@ let
# possibility to add more adapters in the future, such as keepDebugInfo,
# which would be controlled by the `debug` flag
adapters = [
# Condition on darwin to avoid breaking eval for darwin in CI,
# even though darwin is not supported anyway.
adapters = lib.optionals (!stdenv.targetPlatform.isDarwin) [
stdenvAdapters.useMoldLinker
];