1 # To use this for hacking of your Yi config file, drop into a shell
3 { lib, stdenv, makeWrapper
5 , extraPackages ? (s: [])
8 yiEnv = haskellPackages.ghcWithPackages
9 (self: [ self.yi ] ++ extraPackages self);
15 nativeBuildInputs = [ makeWrapper ];
19 makeWrapper ${haskellPackages.yi}/bin/yi $out/bin/yi \
20 --set NIX_GHC ${yiEnv}/bin/ghc
23 # For hacking purposes
27 description = "Allows Yi to find libraries and the compiler easily";
28 # This wrapper and wrapper only is under PD
29 license = licenses.publicDomain;
30 maintainers = with maintainers; [ ];
32 # dependency yi-language no longer builds
33 hydraPlatforms = lib.platforms.none;