diff options
author | tv <tv@shackspace.de> | 2015-02-24 20:15:00 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-02-24 20:15:00 +0100 |
commit | 70c939c9119778ff60f8e2756c219be6deb811df (patch) | |
tree | 453e6029ac8973293e27ec6fc184c59b10ca6d73 | |
parent | 505e832e3131e73f418fa7f6c06f246e2668120a (diff) |
use haskell-ng
-rw-r--r-- | env.nix | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -1,8 +1,8 @@ { nixpkgs ? import <nixpkgs> {} }: let - name = "hack"; - version = "1"; + pname = "hack"; + version = "2"; buildInputs = with pkgs; [ hsEnv @@ -15,10 +15,9 @@ let ''; hsEnv = hsPkgs.ghcWithPackages (self: with self; - login.nativeBuildInputs ++ [ - cabalInstall - dataDefault + cabal-install + data-default lens mtl zippers @@ -27,10 +26,7 @@ let ] ); - hsPkgs = pkgs.haskellPackages_ghc783_profiling.override { - extension = self: super: with self; { - }; - }; + hsPkgs = pkgs.haskellngPackages; pkgs = nixpkgs // staticPkgs; staticPkgs = with nixpkgs; { @@ -49,7 +45,7 @@ let #}}} in pkgs.myEnvFun { - name = "${name}-${version}"; + name = "${pname}-${version}"; inherit buildInputs extraCmds; } # vim: set fdm=marker : |