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:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user