rapidcheck: refactor `postInstall` to install all extras (#106376)

Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
wip/yesman
Tom Manner 4 years ago committed by GitHub
parent a3289a62c4
commit 872cb2fc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/development/libraries/rapidcheck/default.nix

@ -13,8 +13,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# Install the extras headers
postInstall = ''
cp ../extras/boost_test/include/rapidcheck/boost_test.h $out/include/rapidcheck
cp -r $src/extras $out
chmod -R +w $out/extras
rm $out/extras/CMakeLists.txt
rm $out/extras/**/CMakeLists.txt
'';
meta = with stdenv.lib; {

Loading…
Cancel
Save