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
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ cabal.mkDerivation (self: {
|
||||||
configureFlags = "-fpango -fvty";
|
configureFlags = "-fpango -fvty";
|
||||||
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.8";
|
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.8";
|
||||||
postInstall = ''
|
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 = {
|
meta = {
|
||||||
homepage = "http://haskell.org/haskellwiki/Yi";
|
homepage = "http://haskell.org/haskellwiki/Yi";
|
||||||
|
|
Loading…
Add table
Reference in a new issue