forked from mirrors/nixpkgs
haskell-yi: use --suffix wrapper
This allows further wrappers to get around the problem of ending up with GHC_PATH with double ‘::’ in it, breaking the whole thing.
This commit is contained in:
parent
0732523c7d
commit
7562afbe19
|
@ -31,7 +31,7 @@ cabal.mkDerivation (self: {
|
|||
configureFlags = "-fpango -fvty";
|
||||
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.8";
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/yi --prefix GHC_PACKAGE_PATH : $out/lib/ghc-${self.ghc.version}/package.conf.d/yi-$version.installedconf:$GHC_PACKAGE_PATH
|
||||
wrapProgram $out/bin/yi --suffix GHC_PACKAGE_PATH : $out/lib/ghc-${self.ghc.version}/package.conf.d/yi-$version.installedconf:$GHC_PACKAGE_PATH
|
||||
'';
|
||||
meta = {
|
||||
homepage = "http://haskell.org/haskellwiki/Yi";
|
||||
|
|
Loading…
Reference in a new issue