From 64c0b00bbd6a6766c1dedcccff63772bf95998dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Sun, 11 Dec 2011 17:19:36 +0000 Subject: [PATCH] Linking the complete topdir of GHC in ghc-with-packages. svn path=/nixpkgs/trunk/; revision=30826 --- pkgs/development/compilers/ghc/with-packages.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/ghc/with-packages.nix b/pkgs/development/compilers/ghc/with-packages.nix index 937411eab789..19ce4eabf423 100644 --- a/pkgs/development/compilers/ghc/with-packages.nix +++ b/pkgs/development/compilers/ghc/with-packages.nix @@ -21,11 +21,14 @@ stdenv.mkDerivation rec { echo "Linking GHC core libraries:" - if test -f $originalTopDir/settings; then - echo -n "Linking $originalTopDir/settings " - ln -s $originalTopDir/settings $linkedTopDir - echo . - fi + echo -n "Linking $originalTopDir " + for f in $originalTopDir/*; do + if test -f $f; then + ln -s $f $linkedTopDir + echo -n . + fi + done + echo echo -n "Linking $originalPkgDir " for f in $originalPkgDir/*.conf; do