radare2: remove ? null and assert

This commit is contained in:
Sandro Jäckel 2021-04-08 13:06:47 +02:00
parent 034c49f514
commit 61712e88ed
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -13,23 +13,18 @@
, file , file
, libzip , libzip
, xxHash , xxHash
, gtk2 ? null , gtk2
, vte ? null , vte
, gtkdialog ? null , gtkdialog
, python3 ? null , python3
, ruby ? null , ruby
, lua ? null , lua
, useX11 ? false , useX11 ? false
, rubyBindings ? false , rubyBindings ? false
, pythonBindings ? false , pythonBindings ? false
, luaBindings ? false , luaBindings ? false
}: }:
assert useX11 -> (gtk2 != null && vte != null && gtkdialog != null);
assert rubyBindings -> ruby != null;
assert pythonBindings -> python3 != null;
let let
inherit (lib) optional; inherit (lib) optional;