forked from mirrors/nixpkgs
imlib2: use multiple outputs
This commit is contained in:
parent
f983743d75
commit
d64bf1fdad
|
@ -29,6 +29,12 @@ stdenv.mkDerivation rec {
|
||||||
configureFlags = optional stdenv.isDarwin "--enable-amd64=no"
|
configureFlags = optional stdenv.isDarwin "--enable-amd64=no"
|
||||||
++ optional (!x11Support) "--without-x";
|
++ optional (!x11Support) "--without-x";
|
||||||
|
|
||||||
|
outputs = [ "out" "bin" "dev" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
moveToOutput bin/imlib2-config "$dev"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Image manipulation library";
|
description = "Image manipulation library";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue