Unverified Commit 32143038 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

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.
parent f0faa551
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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
  ];