From e08599567a51c2ed0512187096baba8a7cf7da72 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 30 Aug 2016 20:02:30 +0300 Subject: [PATCH] frame: Fix 'lib.optional' use Produces a list-of-lists in buildInputs --- pkgs/development/libraries/frame/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/frame/default.nix b/pkgs/development/libraries/frame/default.nix index 26357b440498..4e8be2a4f501 100644 --- a/pkgs/development/libraries/frame/default.nix +++ b/pkgs/development/libraries/frame/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { buildInputs = [ stdenv pkgconfig - ] ++ stdenv.lib.optional enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi]; + ] ++ stdenv.lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi]; configureFlags = stdenv.lib.optional enableX11 "--with-x11"; @@ -21,4 +21,4 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl3; platforms = stdenv.lib.platforms.linux; }; -} \ No newline at end of file +}