mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
qemu: add optional BrlAPI support (#541371)
This commit is contained in:
@@ -99,6 +99,8 @@
|
||||
capstone,
|
||||
valgrindSupport ? false,
|
||||
valgrind-light,
|
||||
brlttySupport ? !minimal,
|
||||
brltty,
|
||||
pluginsSupport ? !stdenv.hostPlatform.isStatic,
|
||||
enableDocs ? !minimal || toolsOnly,
|
||||
enableTools ? !minimal || toolsOnly,
|
||||
@@ -259,6 +261,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals u2fEmuSupport [ libu2f-emu ]
|
||||
++ lib.optionals capstoneSupport [ capstone ]
|
||||
++ lib.optionals valgrindSupport [ valgrind-light ]
|
||||
++ lib.optionals brlttySupport [ brltty ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_15 ];
|
||||
|
||||
dontUseMesonConfigure = true; # meson's configurePhase isn't compatible with qemu build
|
||||
@@ -344,6 +347,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional canokeySupport "--enable-canokey"
|
||||
++ lib.optional u2fEmuSupport "--enable-u2f"
|
||||
++ lib.optional capstoneSupport "--enable-capstone"
|
||||
++ lib.optional brlttySupport "--enable-brlapi"
|
||||
++ lib.optional (!pluginsSupport) "--disable-plugins"
|
||||
++ lib.optional (!enableBlobs) "--disable-install-blobs"
|
||||
++ lib.optional userOnly "--disable-system"
|
||||
|
||||
Reference in New Issue
Block a user