aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJulien Tanguy <julien.tanguy@jhome.fr>2015-09-05 01:53:08 +0200
committerJulien Tanguy <julien.tanguy@jhome.fr>2015-09-05 01:53:08 +0200
commit3e886a657890184823722fbcbf126bfa4a0f0404 (patch)
tree199a4c5cb937e8942b7ae598774af32f4968ee27
parent90ca5fcb35e750c8a5bdeca0a2b61ffc22781182 (diff)
downloadhmacaroons-3e886a657890184823722fbcbf126bfa4a0f0404.tar.gz
hmacaroons-3e886a657890184823722fbcbf126bfa4a0f0404.tar.zst
hmacaroons-3e886a657890184823722fbcbf126bfa4a0f0404.zip
Import generic, updated 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