boehm-gc: Split into multiple outputs
This commit is contained in:
parent
5a7f19a02b
commit
977a1df79a
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0phwa5driahnpn79zqff14w9yc8sn3599cxz91m78hqdcpl0mznr";
|
sha256 = "0phwa5driahnpn79zqff14w9yc8sn3599cxz91m78hqdcpl0mznr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" "doc" ];
|
||||||
|
|
||||||
configureFlags = "--enable-cplusplus";
|
configureFlags = "--enable-cplusplus";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
@ -15,6 +17,12 @@ stdenv.mkDerivation rec {
|
|||||||
# Don't run the native `strip' when cross-compiling.
|
# Don't run the native `strip' when cross-compiling.
|
||||||
dontStrip = stdenv ? cross;
|
dontStrip = stdenv ? cross;
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
mkdir -p $out/share/doc
|
||||||
|
mv $out/share/gc $out/share/doc/gc
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "The Boehm-Demers-Weiser conservative garbage collector for C and C++";
|
description = "The Boehm-Demers-Weiser conservative garbage collector for C and C++";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user