From 63a8c58185b555e5a0e5a4e34e6ee9c5fde74840 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 22 May 2016 14:03:16 +0200 Subject: [PATCH] gd: multiple outputs --- pkgs/development/libraries/gd/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/gd/default.nix b/pkgs/development/libraries/gd/default.nix index bf3b63db399b..bb06893e712e 100644 --- a/pkgs/development/libraries/gd/default.nix +++ b/pkgs/development/libraries/gd/default.nix @@ -25,6 +25,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ zlib fontconfig freetype libjpeg libpng libtiff libXpm ]; + outputs = [ "dev" "out" "bin" ]; + + postFixup = ''moveToOutput "bin/gdlib-config" $dev''; + meta = with stdenv.lib; { homepage = https://libgd.github.io/; description = "A dynamic image creation library";