From 62d5d1301163a4d04951b1185dd96fb0ab1fdf5b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 18 Feb 2016 18:35:05 +0000 Subject: Fixed client/shell.nix --- client/shell.nix | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) mode change 100644 => 120000 client/shell.nix (limited to 'client') diff --git a/client/shell.nix b/client/shell.nix deleted file mode 100644 index 1e9307e..0000000 --- a/client/shell.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs ? (import {}) -, compilerName ? "ghc7102" -}: - -let - packages = ps: with ps; [ - cabal-install hlint cabal2nix - hspec QuickCheck quickcheck-instances - hspec-contrib temporary - ] ++ (builtins.attrValues (import ./default.nix { inherit pkgs; })); - ghc = pkgs.haskell.packages.${compilerName}.ghcWithPackages packages; -in -pkgs.stdenv.mkDerivation rec { - name = "thermoprint-env"; - buildInputs = [ ghc ]; - shellHook = '' - eval $(egrep ^export ${ghc}/bin/ghc) - export PROMPT_INFO="${name}" - ''; -} diff --git a/client/shell.nix b/client/shell.nix new file mode 120000 index 0000000..314b0bf --- /dev/null +++ b/client/shell.nix @@ -0,0 +1 @@ +../shell.nix \ No newline at end of file -- cgit v1.2.3