aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-02-18 18:35:05 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2016-02-18 18:35:05 +0000
commit62d5d1301163a4d04951b1185dd96fb0ab1fdf5b (patch)
tree25ac2ec89814b55c3e753b1b3e66def7901c0f7b /client
parent42135799b65f84711278af100b70db87c5445abe (diff)
downloadthermoprint-62d5d1301163a4d04951b1185dd96fb0ab1fdf5b.tar
thermoprint-62d5d1301163a4d04951b1185dd96fb0ab1fdf5b.tar.gz
thermoprint-62d5d1301163a4d04951b1185dd96fb0ab1fdf5b.tar.bz2
thermoprint-62d5d1301163a4d04951b1185dd96fb0ab1fdf5b.tar.xz
thermoprint-62d5d1301163a4d04951b1185dd96fb0ab1fdf5b.zip
Fixed client/shell.nix
Diffstat (limited to 'client')
l---------[-rw-r--r--]client/shell.nix21
1 files changed, 1 insertions, 20 deletions
diff --git a/client/shell.nix b/client/shell.nix
index 1e9307e..314b0bf 100644..120000
--- a/client/shell.nix
+++ b/client/shell.nix
@@ -1,20 +1 @@
1{ pkgs ? (import <nixpkgs> {}) ../shell.nix \ No newline at end of file
2, compilerName ? "ghc7102"
3}:
4
5let
6 packages = ps: with ps; [
7 cabal-install hlint cabal2nix
8 hspec QuickCheck quickcheck-instances
9 hspec-contrib temporary
10 ] ++ (builtins.attrValues (import ./default.nix { inherit pkgs; }));
11 ghc = pkgs.haskell.packages.${compilerName}.ghcWithPackages packages;
12in
13pkgs.stdenv.mkDerivation rec {
14 name = "thermoprint-env";
15 buildInputs = [ ghc ];
16 shellHook = ''
17 eval $(egrep ^export ${ghc}/bin/ghc)
18 export PROMPT_INFO="${name}"
19 '';
20}