diff options
-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 : |