Created
June 17, 2016 20:36
-
-
Save romildo/3f8bd9f6961256eea9435daaa8d97f07 to your computer and use it in GitHub Desktop.
Excerpt from configuration.nix
This file contains 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
nixpkgs.config.packageOverrides = pkgs: rec { | |
#haskellPackages = pkgs.haskellPackages; | |
haskellPackages = pkgs.haskell.packages.ghc7103; | |
myHaskellEnv = haskellPackages.ghcWithHoogle ( | |
haskellPackages: with haskellPackages; [ | |
cabal-install | |
ghc-mod | |
HaTeX | |
hlint | |
ipprint | |
pandoc | |
pandoc-citeproc | |
stylish-haskell | |
] | |
); | |
# ... | |
}; | |
environment.systemPackages = with pkgs; [ | |
myHaskellEnv | |
# ... | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment