Author: andres
Date: Sun Dec 11 17:19:36 2011
New Revision: 30826
URL: https://nixos.org/websvn/nix/?rev=30826&sc=1
Log:
Linking the complete topdir of GHC in ghc-with-packages.
Modified:
nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix
Modified: nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix Sat Dec
10 22:30:56 2011 (r30825)
+++ nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix Sun Dec
11 17:19:36 2011 (r30826)
@@ -21,11 +21,14 @@
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
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits