Unverified Commit 4b4abe2f authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

pcscliteWithPolkit: mark as broken on darwin

This enable polkit, which requires dbus, which is not enabled for
darwin. This fails eval with the triggered assert and can't be caught
without hacks in CI. `meta.broken` can be caught nicely, so using that
instead.
parent 5ecd3951
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -23,9 +23,6 @@
  polkitSupport ? false,
}:

assert polkitSupport -> dbusSupport;
assert systemdSupport -> dbusSupport;

stdenv.mkDerivation (finalAttrs: {
  inherit pname;
  version = "2.3.0";
@@ -132,5 +129,6 @@ stdenv.mkDerivation (finalAttrs: {
    maintainers = [ lib.maintainers.anthonyroussel ];
    pkgConfigModules = [ "libpcsclite" ];
    platforms = lib.platforms.unix;
    broken = !(polkitSupport -> dbusSupport) || !(systemdSupport -> dbusSupport);
  };
})