summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/xmonad/stack.nix
blob: 17a49e04762b4b8c60312275c54a645d79f45c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ ghc, nixpkgs ? import ./nixpkgs.nix {} }:

let
  haskellPackages = import ./stackage.nix { inherit nixpkgs; };
  inherit (nixpkgs {}) pkgs;
in pkgs.haskell.lib.buildStackProject {
  inherit ghc;
  inherit (haskellPackages) stack;
  name = "stackenv";
  buildInputs = (with pkgs;
    [ xorg.libX11 xorg.libXrandr xorg.libXinerama xorg.libXScrnSaver xorg.libXext xorg.libXft
      cairo
      glib
    ]) ++ (with haskellPackages;
    [ 
    ]);
}