From 7d2ae46bcee071eecde9a6dcefde7990bf140f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Thu, 29 Apr 2010 17:35:05 +0000 Subject: [PATCH] Add missing binaries to the GHC wrapper. svn path=/nixpkgs/trunk/; revision=21434 --- pkgs/development/compilers/ghc/wrapper.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/ghc/wrapper.nix b/pkgs/development/compilers/ghc/wrapper.nix index d14d26fc3fe..16441daaeed 100644 --- a/pkgs/development/compilers/ghc/wrapper.nix +++ b/pkgs/development/compilers/ghc/wrapper.nix @@ -20,6 +20,9 @@ stdenv.mkDerivation { for prg in ghc-pkg ghc-pkg-${ghc.version}; do makeWrapper $ghc/bin/$prg $out/bin/$prg --add-flags "\$($out/bin/ghc-get-packages.sh ${ghc.version} \"\$(dirname \$0)\" --package-conf=)" done + for prg in hp2ps hpc hasktags hsc2hs; do + test -x $ghc/bin/$prg && ln -s $ghc/bin/$prg $out/bin/$prg + done cat >> $out/bin/ghc-packages << EOF #! /bin/bash -e declare -A GHC_PACKAGES_HASH # using bash4 hashs to get uniq paths