* Install the package config files under
$out/lib/ghc-pkgs/ghc-<version>/<package>.conf instead of under $out/nix-support/ghc-package.conf. This makes them visible in the user's profile when installed with nix-env. svn path=/nixpkgs/trunk/; revision=15135
This commit is contained in:
@@ -79,8 +79,9 @@ attrs :
|
||||
|
||||
./Setup copy
|
||||
|
||||
ensureDir $out/nix-support
|
||||
./Setup register --gen-pkg-config=$out/nix-support/ghc-package.conf
|
||||
local confDir=$out/lib/ghc-pkgs/ghc-${attrs.ghc.ghc.version}
|
||||
ensureDir $confDir
|
||||
./Setup register --gen-pkg-config=$confDir/${self.fname}.conf
|
||||
|
||||
eval "$postInstall"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user