From d2496ba1429023189dd441596c7db2d1fe1907b5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 29 May 2015 11:06:58 +0200 Subject: [PATCH] haskell-pandoc: install man pages --- pkgs/development/haskell-modules/configuration-common.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b22d3f736ce..ffee4900904 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -676,7 +676,13 @@ self: super: { test-sandbox-compose = dontCheck super.test-sandbox-compose; # https://github.com/jgm/pandoc/issues/2190 - pandoc = disableSharedExecutables super.pandoc; + pandoc = overrideCabal super.pandoc (drv: { + enableSharedExecutables = false; + postInstall = '' # install man pages + mv man $out/ + find $out/man -type f ! -name "*.[0-9]" -exec rm {} + + ''; + }); # Broken by GLUT update. Monadius = markBroken super.Monadius;