Merge pull request #194523 from mweinelt/usbimager-wrap-gapps

This commit is contained in:
Martin Weinelt
2022-10-05 02:54:36 +02:00
committed by GitHub
+2 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, pkg-config
{ lib, stdenv, fetchFromGitLab, pkg-config, wrapGAppsHook
, withLibui ? true, gtk3
, withUdisks ? stdenv.isLinux, udisks, glib
, libX11 }:
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sourceRoot = "source/src/";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = lib.optionals withUdisks [ udisks glib ]
++ lib.optional (!withLibui) libX11
++ lib.optional withLibui gtk3;