X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=shell.nix;fp=shell.nix;h=3846dd5bf7bc9d4862a420086bc9293865ba58d3;hb=cfeb65a103cb58048328b2ca3ce74351017f70d1;hp=07952fc2e2c493b868322442986d545cfd5c6987;hpb=a1b6481db1e02013f668851096b084ff6088f682;p=github%2Ffretlink%2Fhmacaroons.git diff --git a/shell.nix b/shell.nix index 07952fc..3846dd5 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,5 @@ -with (import {}).pkgs; -let hspkgs = haskell-ng.packages.ghc7101.override { +{ pkgs ? import {}, compiler ? "ghc7101" }: +let hspkgs = pkgs.haskell.packages.${compiler}.override { overrides = self: super: { hmacaroons = self.callPackage ./. {}; };