mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
haskell-yi-custom: use NIX_* vars for nicer wrap
According to @bennofs , this should now work regardless of what kind of mess the user is in.
This commit is contained in:
parent
432d9fc373
commit
9eaee3fd54
@ -26,8 +26,8 @@ cabal.mkDerivation (self: rec {
|
||||
|
||||
postInstall = ''
|
||||
makeWrapper ${yi}/bin/yi $out/bin/yi \
|
||||
--prefix PATH : ${wrappedGhc}/bin \
|
||||
--suffix GHC_PACKAGE_PATH : $(find ${wrappedGhc} -name '*installedconf' | tr \\n :)
|
||||
--set NIX_GHC ${wrappedGhc}/bin/ghc \
|
||||
--set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${self.ghc.version}
|
||||
'';
|
||||
meta = {
|
||||
homepage = "http://haskell.org/haskellwiki/Yi";
|
||||
|
Loading…
Reference in New Issue
Block a user