From be7253d8465bb4dcefe648a93f09c8ff1f3450a7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 16 Mar 2016 06:59:05 +0100 Subject: [PATCH] cdrtools: stop installing useless man pages The installed man{3,4} pages are for silly NIH build tools (!), and conflict with useful packages like `man-pages`. Drop 'em. --- pkgs/applications/misc/cdrtools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/cdrtools/default.nix b/pkgs/applications/misc/cdrtools/default.nix index b83857b6045e..2168a21f7da0 100644 --- a/pkgs/applications/misc/cdrtools/default.nix +++ b/pkgs/applications/misc/cdrtools/default.nix @@ -12,6 +12,11 @@ stdenv.mkDerivation rec { buildInputs = [ acl libcap ]; + postPatch = '' + sed "/\.mk3/d" -i libschily/Targets.man + substituteInPlace man/Makefile --replace "man4" "" + ''; + configurePhase = "true"; GMAKE_NOWARN = true;