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

jetbrains.jcef: replace assert with meta.platforms

An assert can't be properly caught by CI, but `meta.platforms` can.
parent 953761fe
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -46,9 +46,6 @@
  thrift,
}:

assert !stdenv.hostPlatform.isDarwin;
# I can't test darwin

let
  rpath = lib.makeLibraryPath [
    glib
@@ -306,5 +303,9 @@ stdenv.mkDerivation rec {
    description = "Jetbrains' fork of JCEF";
    license = lib.licenses.bsd3;
    homepage = "https://github.com/JetBrains/JCEF";
    platforms = [
      "aarch64-linux"
      "x86_64-linux"
    ];
  };
}