From e3db7185afe36f0c2f1e26dc0334544041e6854d Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Wed, 7 Oct 2020 21:35:33 -0400 Subject: [PATCH] Finally downgrade Hakyll so it'll compile!! --- shell.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index 75df335..3c20c37 100644 --- a/shell.nix +++ b/shell.nix @@ -4,13 +4,23 @@ { pkgs ? import {} }: let + pkgs = import (builtins.fetchGit { + # Descriptive name to make the store path easier to identify + name = "hakyll-4.13.3.0"; + url = "https://github.com/nixos/nixpkgs-channels/"; + ref = "refs/heads/nixpkgs-unstable"; + rev = "fa54dd346fe5e73d877f2068addf6372608c820b"; + }) {}; + + myPkg = pkgs.haskellPackages.hakyll; + ghc = pkgs.haskellPackages.ghcWithHoogle (self: with self; [ - hspec - split - hakyll - random - neat-interpolation - ]); + hspec + split + myPkg # hakyll + random + neat-interpolation + ]); in pkgs.mkShell { name = "haskell-shell";