diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-30 20:02:30 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-30 23:00:13 +0300 |
commit | e08599567a51c2ed0512187096baba8a7cf7da72 (patch) | |
tree | bc41c9fc922f10d57d5d24c9bae2123e3aa62d03 | |
parent | d2ef0577c5783333d3832bfb312516173b06fb8d (diff) |
frame: Fix 'lib.optional' use
Produces a list-of-lists in buildInputs
-rw-r--r-- | pkgs/development/libraries/frame/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/frame/default.nix b/pkgs/development/libraries/frame/default.nix index 26357b4404982..4e8be2a4f5019 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 +} |