Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 481 Bytes
{ nixpkgs ? import <nixpkgs> {}}: #, compiler ? "ghc7102" }:
let
inherit (nixpkgs) pkgs;
#ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
ghc = pkgs.haskellPackages.ghcWithPackages (ps: with ps; [
friday-juicypixels elm-bridge friday directory_1_3_3_0 regex-compat
]);
in
pkgs.stdenv.mkDerivation {
name = "elbum-haskell-env-0";
buildInputs = [ ghc pkgs.elmPackages.elm ];
shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)";
}