aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/shell.nix b/shell.nix
index 3846dd5..9f7e0c1 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,8 +1,11 @@
1{ pkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }: 1{ pkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }:
2let hspkgs = pkgs.haskell.packages.${compiler}.override { 2let hspkgs = pkgs.haskell.packages.${compiler}.override {
3 overrides = self: super: { 3 overrides = self: super: {
4 hmacaroons = self.callPackage ./. {}; 4 this = self.callPackage ./. {};
5 }; 5 };
6 }; 6};
7 hsWithTools = pkgs.lib.overrideDerivation hspkgs.this (attrs: with pkgs; {
8 buildInputs = [ /* Other deps */ ] ++ attrs.buildInputs;
9 });
7in 10in
8 hspkgs.hmacaroons.env 11 hsWithTools.env