treewide: fix nested lists in *buildInputs

This commit is contained in:
Robin Gloster 2019-11-09 23:14:38 +01:00 committed by Jan Tojnar
parent a012d5eebb
commit 8a227a2341
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
3 changed files with 3 additions and 4 deletions

View File

@ -73,7 +73,7 @@ let
'';
# Splicer will pull out correct variations
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
libDeps = platform: stdenv.lib.optional enableTerminfo ncurses
++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;

View File

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
./hooks/drop-icon-theme-cache.sh
];
nativeBuildInputs = [ setupHooks perl pkgconfig gettext gobject-introspection ];
nativeBuildInputs = setupHooks ++ [ perl pkgconfig gettext gobject-introspection ];
patches = [
./patches/2.0-immodules.cache.patch

View File

@ -115,8 +115,7 @@ stdenv.mkDerivation rec {
pkgconfig
python3
sassc
setupHooks
] ++ optionals withGtkDoc [
] ++ setupHooks ++ optionals withGtkDoc [
docbook_xml_dtd_43
docbook_xsl
gtk-doc