Merge pull request #194523 from mweinelt/usbimager-wrap-gapps
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user