From 9faa4ef10141f232366e911ae5a0f7685724ee7c Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 11 Nov 2020 17:06:03 +0100 Subject: [PATCH] rdma-core: only remove binaries --- bsc/rdma-core/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bsc/rdma-core/default.nix b/bsc/rdma-core/default.nix index a23cd14..31c8de5 100644 --- a/bsc/rdma-core/default.nix +++ b/bsc/rdma-core/default.nix @@ -43,9 +43,7 @@ in stdenv.mkDerivation { wrapProgram $pls --prefix PERL5LIB : "$out/${perl.libPrefix}" done - # Remove any non-library as we are not using them - rm -rf $out/etc - rm -rf $out/lib/systemd + # Remove the binaries as they pull systemd rm -rf $out/bin rm -rf $out/sbin '';