boehm-gc: Split into multiple outputs
This commit is contained in:
parent
5a7f19a02b
commit
977a1df79a
1 changed files with 8 additions and 0 deletions
|
@ -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++";
|
||||
|
||||
|
|
Loading…
Reference in a new issue