2019-08-21 13:17:03 +02:00
|
|
|
{ pkgs ? import ../../default.nix {} }:
|
|
|
|
|
|
|
|
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
|
|
|
}
|