From d64bf1fdadaac6f24a11de1ed83ca85d7001838e Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Tue, 22 Nov 2016 22:11:25 +0100 Subject: [PATCH] imlib2: use multiple outputs --- pkgs/development/libraries/imlib2/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/imlib2/default.nix b/pkgs/development/libraries/imlib2/default.nix index 5181ff886166..a6ad33d842c9 100644 --- a/pkgs/development/libraries/imlib2/default.nix +++ b/pkgs/development/libraries/imlib2/default.nix @@ -29,6 +29,12 @@ stdenv.mkDerivation rec { configureFlags = optional stdenv.isDarwin "--enable-amd64=no" ++ optional (!x11Support) "--without-x"; + outputs = [ "out" "bin" "dev" ]; + + postInstall = '' + moveToOutput bin/imlib2-config "$dev" + ''; + meta = { description = "Image manipulation library";