aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
blob: 9f7e0c17b4e26b609aa8f0de4bd29b50a666477f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ pkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
let hspkgs = pkgs.haskell.packages.${compiler}.override {
  overrides = self: super: {
    this = self.callPackage ./. {};
  };
};
  hsWithTools = pkgs.lib.overrideDerivation hspkgs.this (attrs: with pkgs; {
      buildInputs = [ /* Other deps */ ] ++ attrs.buildInputs;
      });
in
  hsWithTools.env