summary refs log tree commit diff
path: root/pkgs/applications/editors/yi
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-10-15 03:54:46 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-10-15 03:54:46 +0100
commit7562afbe19a04341f7a45bffd8aa53b194a43b97 (patch)
treec1a4bd0c67cd2173ad239fe21f6003dce08531fc /pkgs/applications/editors/yi
parent0732523c7d393754e5fabea17b8a48cafd765369 (diff)
downloadnixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.tar
nixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.tar.gz
nixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.tar.bz2
nixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.tar.lz
nixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.tar.xz
nixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.tar.zst
nixlib-7562afbe19a04341f7a45bffd8aa53b194a43b97.zip
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.
Diffstat (limited to 'pkgs/applications/editors/yi')
-rw-r--r--pkgs/applications/editors/yi/yi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/yi/yi.nix b/pkgs/applications/editors/yi/yi.nix
index 7e2e0c89bea6..c1d1e52db3d7 100644
--- a/pkgs/applications/editors/yi/yi.nix
+++ b/pkgs/applications/editors/yi/yi.nix
@@ -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";