mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 00:52:07 +03:00
poke: fix guiSupport
This commit is contained in:
parent
45f46d31a6
commit
c027d1a8f2
@ -42,10 +42,13 @@ in stdenv.mkDerivation rec {
|
|||||||
help2man
|
help2man
|
||||||
pkg-config
|
pkg-config
|
||||||
texinfo
|
texinfo
|
||||||
] ++ lib.optional guiSupport makeWrapper;
|
] ++ lib.optionals guiSupport [
|
||||||
|
makeWrapper
|
||||||
|
tcl.tclPackageHook
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ boehmgc readline ]
|
buildInputs = [ boehmgc readline ]
|
||||||
++ lib.optionals guiSupport [ tk tcl.tclPackageHook tcllib ]
|
++ lib.optionals guiSupport [ tcl tcllib tk ]
|
||||||
++ lib.optional miSupport json_c
|
++ lib.optional miSupport json_c
|
||||||
++ lib.optional nbdSupport libnbd
|
++ lib.optional nbdSupport libnbd
|
||||||
++ lib.optional textStylingSupport gettext
|
++ lib.optional textStylingSupport gettext
|
||||||
@ -56,6 +59,7 @@ in stdenv.mkDerivation rec {
|
|||||||
# $lib, and later move anything else it doesn't depend on to $out
|
# $lib, and later move anything else it doesn't depend on to $out
|
||||||
"--datadir=${placeholder "lib"}/share"
|
"--datadir=${placeholder "lib"}/share"
|
||||||
] ++ lib.optionals guiSupport [
|
] ++ lib.optionals guiSupport [
|
||||||
|
"--enable-gui"
|
||||||
"--with-tcl=${tcl}/lib"
|
"--with-tcl=${tcl}/lib"
|
||||||
"--with-tk=${tk}/lib"
|
"--with-tk=${tk}/lib"
|
||||||
"--with-tkinclude=${tk.dev}/include"
|
"--with-tkinclude=${tk.dev}/include"
|
||||||
|
Loading…
Reference in New Issue
Block a user