The wrapper script for ghc-pkg changes the command's default behavior such that global packages -- i.e. packages that are part of GHC itself -- are no longer found: $ ghc-pkg describe base ghc-pkg: cannot find package base This patch remedies the problem. svn path=/nixpkgs/trunk/; revision=19256