]> git.immae.eu Git - github/fretlink/hmacaroons.git/blobdiff - shell.nix
Merge branch 'verification'
[github/fretlink/hmacaroons.git] / shell.nix
index 07952fc2e2c493b868322442986d545cfd5c6987..3846dd5bf7bc9d4862a420086bc9293865ba58d3 100644 (file)
--- a/shell.nix
+++ b/shell.nix
@@ -1,5 +1,5 @@
-with (import <nixpkgs> {}).pkgs;
-let hspkgs = haskell-ng.packages.ghc7101.override {
+{ pkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
+let hspkgs = pkgs.haskell.packages.${compiler}.override {
      overrides = self: super: {
        hmacaroons = self.callPackage ./. {};
       };