about summary refs log tree commit diff
path: root/services/tazblog/shell.nix
blob: 021c3db31d31d99ee4415221c96729969360256d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ 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";
  buildInputs = [ ghc pkgs.hlint ];
}