diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/shell.nix b/shell.nix deleted file mode 100644 index df3ed18..0000000 --- a/shell.nix +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { pkgs ? (import <nixpkgs> {}) | ||
2 | , compiler ? "ghc7102" | ||
3 | }: | ||
4 | |||
5 | let | ||
6 | ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [ | ||
7 | cabal-install hlint cabal2nix | ||
8 | ] ++ (builtins.attrValues (import ./default.nix {}))); | ||
9 | in | ||
10 | pkgs.stdenv.mkDerivation { | ||
11 | name = "thermoprinter-env"; | ||
12 | buildInputs = [ ghc ]; | ||
13 | shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)"; | ||
14 | } | ||