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

Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
This commit is contained in:
Tom Manner 2020-12-08 23:51:33 -05:00 committed by GitHub
parent a3289a62c4
commit 872cb2fc23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {