Created
June 2, 2015 20:31
-
-
Save codedmart/b42197a44cd2ce00dffd 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
| let | |
| pkgs = import <nixpkgs> {}; | |
| stdenv = pkgs.stdenv; | |
| in rec { | |
| # GHC 7.6.3 | |
| ghc763 = stdenv.mkDerivation rec { | |
| name = "ghc-763"; | |
| buildInputs = [ | |
| pkgs.haskell.packages.ghc763.ghc | |
| pkgs.haskell.packages.ghc763.cabal-install | |
| pkgs.haskell.packages.ghc763.cabal2nix | |
| ]; | |
| NIX_MYENV_NAME = "ghc763"; | |
| shellHook = "source ~/.bash_prompt"; | |
| }; | |
| # GHC 7.8.4 | |
| ghc784 = stdenv.mkDerivation rec { | |
| name = "ghc-784"; | |
| buildInputs = [ | |
| pkgs.haskell.packages.ghc784.ghc | |
| pkgs.haskell.packages.ghc784.cabal-install | |
| pkgs.haskell.packages.ghc784.cabal2nix | |
| ]; | |
| NIX_MYENV_NAME = "ghc784"; | |
| shellHook = "source ~/.bash_prompt"; | |
| }; | |
| # GHC 7.10.1 | |
| ghc7101 = stdenv.mkDerivation rec { | |
| name = "ghc-7101"; | |
| buildInputs = [ | |
| pkgs.haskell.packages.ghc7101.ghc | |
| pkgs.haskell.packages.ghc7101.cabal-install | |
| pkgs.haskell.packages.ghc7101.cabal2nix | |
| ]; | |
| NIX_MYENV_NAME = "ghc7101"; | |
| shellHook = "source ~/.bash_prompt"; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment