2019-12-09 03:40:48 +01:00
|
|
|
{ pkgs ? (import ../../default.nix {}).third_party.nixpkgs }:
|
2019-08-21 13:17:03 +02:00
|
|
|
|
|
|
|
let tazblog = import ./tazblog.nix;
|
|
|
|
depNames = with builtins; filter (
|
|
|
|
p: hasAttr p pkgs.haskellPackages
|
|
|
|
) (attrNames (functionArgs tazblog));
|
|
|
|
ghc = pkgs.ghc.withPackages(p: map (x: p."${x}") depNames);
|
|
|
|
in pkgs.stdenv.mkDerivation {
|
|
|
|
name = "shell";
|
2019-08-26 00:06:48 +02:00
|
|
|
buildInputs = [ ghc pkgs.hlint ];
|
2019-08-21 13:17:03 +02:00
|
|
|
}
|