diff options
author | Julien Tanguy <julien.tanguy@jhome.fr> | 2015-09-05 01:53:08 +0200 |
---|---|---|
committer | Julien Tanguy <julien.tanguy@jhome.fr> | 2015-09-05 01:53:08 +0200 |
commit | 3e886a657890184823722fbcbf126bfa4a0f0404 (patch) | |
tree | 199a4c5cb937e8942b7ae598774af32f4968ee27 | |
parent | 90ca5fcb35e750c8a5bdeca0a2b61ffc22781182 (diff) | |
download | hmacaroons-3e886a657890184823722fbcbf126bfa4a0f0404.tar.gz hmacaroons-3e886a657890184823722fbcbf126bfa4a0f0404.tar.zst hmacaroons-3e886a657890184823722fbcbf126bfa4a0f0404.zip |
Import generic, updated shell.nix
-rw-r--r-- | shell.nix | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1,8 +1,11 @@ | |||
1 | { pkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }: | 1 | { pkgs ? import <nixpkgs> {}, compiler ? "ghc7102" }: |
2 | let hspkgs = pkgs.haskell.packages.${compiler}.override { | 2 | let 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 | }); | ||
7 | in | 10 | in |
8 | hspkgs.hmacaroons.env | 11 | hsWithTools.env |