From 505e832e3131e73f418fa7f6c06f246e2668120a Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 27 Dec 2014 12:47:25 +0100 Subject: env.nix: `~/.env-home`-reduction; ref load-env 58f2234 --- default.nix | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 default.nix (limited to 'default.nix') diff --git a/default.nix b/default.nix deleted file mode 100644 index 599a096..0000000 --- a/default.nix +++ /dev/null @@ -1,25 +0,0 @@ - -let - pkgs = import {}; - hsEnv = pkgs.haskellPackages.ghcWithPackages (hsPkgs : with hsPkgs; [ - lens - mtl - ]); -in - -pkgs.myEnvFun { - name = "hack"; - buildInputs = with pkgs; [ - hsEnv - ]; - - # XXX https://nixos.org/wiki/Haskell says: - # Since tools (such as hdevtools [snap-loader-dynamic in our case]) that - # rely on the ghc-api to do haskell language manipulation are sensitive - # to nix-wrapping of ghc, we need the extraCmds line to ensure the - # proper ghc-wrapping environment variables are set inside the - # dev-environment shell. - extraCmds = '' - $(grep export ${hsEnv.outPath}/bin/ghc) - ''; -} -- cgit v1.2.3