From f0a7a7cc44a084f08ac497fe992579eded497d90 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 21 Jul 2025 18:12:53 +0200 Subject: [PATCH] jetbrains.jcef: replace assert with meta.platforms An assert can't be properly caught by CI, but `meta.platforms` can. (cherry picked from commit bb4f984b8ebe2e4dfe86fbabc2562156a2a29d65) --- pkgs/development/compilers/jetbrains-jdk/jcef.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/jetbrains-jdk/jcef.nix b/pkgs/development/compilers/jetbrains-jdk/jcef.nix index 179fb668fec0..34571287f6be 100644 --- a/pkgs/development/compilers/jetbrains-jdk/jcef.nix +++ b/pkgs/development/compilers/jetbrains-jdk/jcef.nix @@ -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" + ]; }; }