about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorTom Manner <zephrincochrane@gmail.com>2020-12-08 23:51:33 -0500
committerGitHub <noreply@github.com>2020-12-09 05:51:33 +0100
commit872cb2fc23a2a4775a4a0ba5a201932766bf87ea (patch)
tree0f8d34e56c5a056e74d97f75d5fffa95d01958b8 /pkgs/development
parenta3289a62c48120341a9a730f3d4627b15eaaea97 (diff)
rapidcheck: refactor `postInstall` to install all extras (#106376)
Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/rapidcheck/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/rapidcheck/default.nix b/pkgs/development/libraries/rapidcheck/default.nix
index bf96e8e76b877..492e122897810 100644
--- a/pkgs/development/libraries/rapidcheck/default.nix
+++ b/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; {