usbimager: Fix filechooser dialog

Closes: #193985
This commit is contained in:
Martin Weinelt 2022-10-05 02:31:42 +02:00
parent 79021e7b7b
commit e338844d90
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, pkg-config { lib, stdenv, fetchFromGitLab, pkg-config, wrapGAppsHook
, withLibui ? true, gtk3 , withLibui ? true, gtk3
, withUdisks ? stdenv.isLinux, udisks, glib , withUdisks ? stdenv.isLinux, udisks, glib
, libX11 }: , libX11 }:
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sourceRoot = "source/src/"; sourceRoot = "source/src/";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = lib.optionals withUdisks [ udisks glib ] buildInputs = lib.optionals withUdisks [ udisks glib ]
++ lib.optional (!withLibui) libX11 ++ lib.optional (!withLibui) libX11
++ lib.optional withLibui gtk3; ++ lib.optional withLibui gtk3;