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
commit 728ebb50a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;