]>
Commit | Line | Data |
---|---|---|
3e886a65 | 1 | { pkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }: |
7f9f7386 | 2 | let hspkgs = pkgs.haskell.packages.${compiler}.override { |
3e886a65 JT |
3 | overrides = self: super: { |
4 | this = self.callPackage ./. {}; | |
5 | }; | |
6 | }; | |
7 | hsWithTools = pkgs.lib.overrideDerivation hspkgs.this (attrs: with pkgs; { | |
8 | buildInputs = [ /* Other deps */ ] ++ attrs.buildInputs; | |
9 | }); | |
7001a61e | 10 | in |
3e886a65 | 11 | hsWithTools.env |