Created
June 3, 2015 13:22
-
-
Save codedmart/69e9050a00b7210af6ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| packageOverrides = super: | |
| let | |
| self = super.pkgs; | |
| ghc784Package = self.haskell.packages.ghc784.ghcWithPackages ( | |
| haskellPackages: with haskellPackages; [ | |
| cabal-install | |
| cabal2nix | |
| ] | |
| ); | |
| in | |
| { | |
| # GHC 7.6.3 | |
| ghc763 = self.haskell.packages.ghc763.ghcWithPackages ( | |
| haskellPackages: with haskellPackages; [ | |
| cabal-install | |
| cabal2nix | |
| ] | |
| ); | |
| ghc784 = self.stdenv.mkDerivation { | |
| name = "ghc784"; | |
| src = ./.; | |
| NIX_MYENV_NAME = "ghc784"; | |
| buildInputs = [ ghc784H ]; | |
| shellHook = "source ~/.bash_prompt"; | |
| }; | |
| # GHC 7.10.1 | |
| ghc7101 = self.haskell.packages.ghc7101.ghcWithPackages ( | |
| haskellPackages: with haskellPackages; [ | |
| cabal-install | |
| cabal2nix | |
| ] | |
| ); | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment