From 7562afbe19a04341f7a45bffd8aa53b194a43b97 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Wed, 15 Oct 2014 03:54:46 +0100 Subject: [PATCH] haskell-yi: use --suffix wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows further wrappers to get around the problem of ending up with GHC_PATH with double ‘::’ in it, breaking the whole thing. --- pkgs/applications/editors/yi/yi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";