@@ -1,11 +1,10 @@
3+ "https://github.com/NixOS/nixpkgs/archive/refs/tags/21.11.tar.gz";
4+ nixpkgsDefault = import (builtins.fetchTarball nixpkgsPath_21_11) { };
2− nixpkgs ?
7+ nixpkgs ? nixpkgsDefault
3− # nixpkgs 21.05 needs a revised version of bench-show and we do not
4− # know how to use a revised version in nix.
5− #import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/refs/tags/21.05.tar.gz)
6− import (builtins.fetchTarball https://github.com/composewell/nixpkgs/archive/01dd2b4e738.tar.gz)
8−#, compiler ? "ghc884" # For nix 21.05
9, compiler ? "default"
8, compiler ? "default"
11let haskellPackages =
10let haskellPackages =
@@ -26,6 +25,12 @@ let haskellPackages =
26 overrides = self: super:
25 overrides = self: super:
27 with nixpkgs.haskell.lib;
26 with nixpkgs.haskell.lib;
28+ bench-show = super.callHackageDirect {
31+ sha256 = "16b8vyzdp9b5bh34kqmbfwjsyv8wgnxxwl8kjcpgxjsh52xzyaa0";
29 bench-report = mkPackage super "bench-report" ./. "" inShell;
34 bench-report = mkPackage super "bench-report" ./. "" inShell;