From 97faa4c319c5784ba1ee52fc3715e2432c73305c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 11 Feb 2013 23:25:19 +0100 Subject: [PATCH] ghc-with-packages.nix: include man pages in the generated profile --- pkgs/development/compilers/ghc/with-packages.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/compilers/ghc/with-packages.nix b/pkgs/development/compilers/ghc/with-packages.nix index 07071ef8414..3494f63c11c 100644 --- a/pkgs/development/compilers/ghc/with-packages.nix +++ b/pkgs/development/compilers/ghc/with-packages.nix @@ -64,6 +64,13 @@ stdenv.mkDerivation rec { ln -s $f $out/etc/bash_completion.d/ echo -n . done + for s in 1 2 3 4 5 6 7 8 9; do + for f in "$currentPath/share/man/man$s/"*; do + mkdir -p $out/share/man/man$s + ln -sv $f $out/share/man/man$s/ + echo -n . + done + done for f in "$currentPkgDir/"*.conf; do ln -s $f $linkedPkgDir echo -n .