diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ | |||
1 | { pkgs ? (import <nixpkgs> {}) | 1 | { pkgs ? (import <nixpkgs> {}) |
2 | , compilerName ? "ghc7103" | 2 | , haskellPackages ? (import ./default.nix {}).haskellPackages |
3 | }: | 3 | }: |
4 | 4 | ||
5 | let | 5 | let |
6 | thermoprintPackages = builtins.attrValues (import ./default.nix {}); | 6 | thermoprintPackages = builtins.attrValues (import ./default.nix {}); |
7 | ghc = pkgs.haskell.packages.${compilerName}.ghcWithPackages | 7 | ghc = haskellPackages.ghcWithPackages |
8 | (ps: thermoprintPackages ++ utilities ps ++ testDeps ps); | 8 | (ps: thermoprintPackages ++ utilities ps ++ testDeps ps); |
9 | utilities = (ps: with ps; [ hlint cabal2nix ]); | 9 | utilities = (ps: with ps; [ hlint cabal2nix ]); |
10 | testDeps = (ps: with ps; [ temporary hspec ]); | 10 | testDeps = (ps: with ps; [ temporary hspec ]); |