* Urgh. Some files that had been deleted in the trunk came back

through the stdenv-updates merge (probably because they had been
  modified in the branch).

svn path=/nixpkgs/trunk/; revision=15403
This commit is contained in:
Eelco Dolstra
2009-04-29 16:19:57 +00:00
parent fc3e7b8f7c
commit 210ba6316e
8 changed files with 0 additions and 379 deletions

View File

@@ -1,17 +0,0 @@
# Create isolated package config
packages_db=$TMPDIR/.package.conf
cp @ghc@/lib/ghc-*/package.conf $packages_db
chmod u+w $packages_db
export GHC_PACKAGE_PATH=$packages_db
# Env hook to add packages to the package config
addLibToPackageConf () {
local fn
shopt -s nullglob
for fn in $1/lib/ghc-pkgs/ghc-@ghcVersion@/*.conf; do
@ghc@/bin/ghc-pkg register --force $fn
done
}
envHooks=(${envHooks[@]} addLibToPackageConf)