~jack/jackkelly-name

5aa9a38941e0ab20e5b64a79529ea8df03e94595 — Jack Kelly 6 months ago 2ace4a8
Fix for recent nixpkgs
1 files changed, 9 insertions(+), 3 deletions(-)

M default.nix
M default.nix => default.nix +9 -3
@@ 4,9 4,15 @@ let

  inherit (nixpkgs) pkgs;

  haskellPackages = if compiler == "default"
                       then pkgs.haskellPackages
                       else pkgs.haskell.packages.${compiler};
  baseHaskellPackages = if compiler == "default"
                           then pkgs.haskellPackages
                           else pkgs.haskell.packages.${compiler};

  haskellPackages = baseHaskellPackages.override {
    overrides = self: super: with pkgs.haskell.lib; {
      hakyll = doJailbreak (unmarkBroken super.hakyll);
    };
  };

  variant = if doBenchmark then pkgs.haskell.lib.doBenchmark else pkgs.lib.id;
in