From 486ee88d17cb4243cf348b0c373abf6d2e6be159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Tue, 28 May 2024 23:11:48 +0200 Subject: [PATCH] rPackages.Rbwa: fix build --- pkgs/development/r-modules/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 80df4bbe8dd4..38e242b8489f 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1644,6 +1644,15 @@ let hardeningDisable = [ "format" ]; }); + Rbwa = old.Rbwa.overrideAttrs (attrs: { + # Parallel build cleans up *.o before they can be packed in a library + postPatch = '' + substituteInPlace src/Makefile --replace-fail \ + "all:\$(PROG) ../inst/bwa clean" \ + "all:\$(PROG) ../inst/bwa" \ + ''; + }); + ROracle = old.ROracle.overrideAttrs (attrs: { configureFlags = [ "--with-oci-lib=${pkgs.oracle-instantclient.lib}/lib"