forked from mirrors/nixpkgs
haskell-yi-custom: improve wrapper
Apparently it is possible for the config to be compiled correctly but for ‘hint’ still not know where the packages are: it seems to ignore the GHC in PATH and does whatever.
This commit is contained in:
parent
c44c00d56c
commit
bd43ff7b6a
|
@ -24,10 +24,10 @@ cabal.mkDerivation (self: rec {
|
|||
noHaddock = true;
|
||||
doCheck = false;
|
||||
|
||||
# put custom GHC env in front which stops crap from being picked up
|
||||
# from user database
|
||||
postInstall = ''
|
||||
makeWrapper ${yi}/bin/yi $out/bin/yi --prefix PATH : ${wrappedGhc}/bin
|
||||
makeWrapper ${yi}/bin/yi $out/bin/yi \
|
||||
--prefix PATH : ${wrappedGhc}/bin \
|
||||
--suffix GHC_PACKAGE_PATH : $(find ${wrappedGhc} -name '*installedconf' | tr \\n :)
|
||||
'';
|
||||
meta = {
|
||||
homepage = "http://haskell.org/haskellwiki/Yi";
|
||||
|
|
Loading…
Reference in a new issue