blob: 9f7e0c17b4e26b609aa8f0de4bd29b50a666477f (
plain) (
tree)
|
|
{ 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
|