boehm-gc: Split into multiple outputs

This commit is contained in:
Eelco Dolstra 2013-08-26 12:04:19 +02:00
parent 5a7f19a02b
commit 977a1df79a

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0phwa5driahnpn79zqff14w9yc8sn3599cxz91m78hqdcpl0mznr";
};
outputs = [ "dev" "out" "doc" ];
configureFlags = "--enable-cplusplus";
doCheck = true;
@ -15,6 +17,12 @@ stdenv.mkDerivation rec {
# Don't run the native `strip' when cross-compiling.
dontStrip = stdenv ? cross;
postInstall =
''
mkdir -p $out/share/doc
mv $out/share/gc $out/share/doc/gc
'';
meta = {
description = "The Boehm-Demers-Weiser conservative garbage collector for C and C++";