3
0
Fork 0
forked from mirrors/nixpkgs

imlib2: use multiple outputs

This commit is contained in:
Franz Pletz 2016-11-22 22:11:25 +01:00
parent f983743d75
commit d64bf1fdad
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -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";