Skip to content

Instantly share code, notes, and snippets.

@benley
Last active March 20, 2017 03:16
Show Gist options
  • Save benley/6a93799becc474e5f40de51614f4fa5c to your computer and use it in GitHub Desktop.
Save benley/6a93799becc474e5f40de51614f4fa5c to your computer and use it in GitHub Desktop.
{ config, lib, ... }:
{
nixpkgs.config.packageOverrides = super: let self = super.pkgs; in
{
myHaskellEnv = self.haskellPackages.ghcWithHoogle
(haskellPackages: with HaskellPackages; [
# libraries
arrows async cgi criterion
# tools
cabal-install haskintex
]);
};
environment.systemPackages = with pkgs; [
myHaskellEnv
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment