on master help sign in
Update the nix file
commit6b655d996b2686a8819b2254bd5c2427c4834087 authorAdithya Kumar <adithya@composewell.com> dateWed 9 Feb 2022, 05:55 (5 years ago) parenta0bdb61
1 file changed+12−7
benchmark/bench-report/default.nix+12−7
benchmark/bench-report/default.nix+12−7
@@ -1,11 +1,10 @@
1+let
2+ nixpkgsPath_21_11 =
3+ "https://github.com/NixOS/nixpkgs/archive/refs/tags/21.11.tar.gz";
4+ nixpkgsDefault = import (builtins.fetchTarball nixpkgsPath_21_11) { };
5+in
16{
2− nixpkgs ?
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)
7− {}
8−#, compiler ? "ghc884" # For nix 21.05
7+ nixpkgs ? nixpkgsDefault
98, compiler ? "default"
109}:
1110let haskellPackages =
@@ -26,6 +25,12 @@ let haskellPackages =
2625 overrides = self: super:
2726 with nixpkgs.haskell.lib;
2827 {
28+ bench-show = super.callHackageDirect {
29+ pkg = "bench-show";
30+ ver = "0.3.2";
31+ sha256 = "16b8vyzdp9b5bh34kqmbfwjsyv8wgnxxwl8kjcpgxjsh52xzyaa0";
32+ } { };
33+
2934 bench-report = mkPackage super "bench-report" ./. "" inShell;
3035 };
3136 };