ghostscript: don't use lib.optional with a list
This commit is contained in:
parent
2014fdae3d
commit
b643a42a1f
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ let
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ghostscript${lib.optionalString (x11Support) "-with-X"}";
|
pname = "ghostscript${lib.optionalString x11Support "-with-X"}";
|
||||||
version = "10.01.1";
|
version = "10.01.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -112,7 +112,7 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optionals dynamicDrivers [
|
] ++ lib.optionals dynamicDrivers [
|
||||||
"--enable-dynamic"
|
"--enable-dynamic"
|
||||||
"--disable-hidden-visibility"
|
"--disable-hidden-visibility"
|
||||||
] ++ lib.optional x11Support [
|
] ++ lib.optionals x11Support [
|
||||||
"--with-x"
|
"--with-x"
|
||||||
] ++ lib.optionals cupsSupport [
|
] ++ lib.optionals cupsSupport [
|
||||||
"--enable-cups"
|
"--enable-cups"
|
||||||
|
|
Loading…
Reference in a new issue