Skip to content

Instantly share code, notes, and snippets.

@romildo
Created June 17, 2016 20:36
Show Gist options
  • Save romildo/3f8bd9f6961256eea9435daaa8d97f07 to your computer and use it in GitHub Desktop.
Save romildo/3f8bd9f6961256eea9435daaa8d97f07 to your computer and use it in GitHub Desktop.
Excerpt from configuration.nix
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