Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit f78e26c

Browse files
committed
[DEVOPS-1013] bump nixpkgs and add enablePhaseMetrics=true
1 parent 7dfe7cb commit f78e26c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

default.nix

+7
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,20 @@ let
116116
});
117117
};
118118

119+
metricOverlay = self: super: {
120+
mkDerivation = args: super.mkDerivation (args // {
121+
enablePhaseMetrics = true;
122+
});
123+
};
124+
119125
cardanoPkgsBase = ((import ./pkgs { inherit pkgs; }).override {
120126
ghc = overrideDerivation pkgs.haskell.compiler.ghc822 (drv: {
121127
patches = drv.patches ++ [ ./ghc-8.0.2-darwin-rec-link.patch ];
122128
});
123129
});
124130

125131
activeOverlays = [ requiredOverlay ]
132+
++ [ metricOverlay ]
126133
++ optional enableBenchmarks benchmarkOverlay
127134
++ optional enableDebugging debugOverlay
128135
++ optional forceDontCheck dontCheckOverlay;

nixpkgs-src.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"rev": "118431d4d68c68a6605932d94aae0a75a8309d95",
3-
"sha256": "0w2a1ll8c5bysjqbm1ljzcgrmf0gkwm1c97xpfsb8k3ns56x4h52",
4-
"sha256unpacked": "146z9syzfiq1phq3gs2kacq2zcvyzbpzxy52vhjgxhm1ygy449lm"
2+
"rev": "1377378db42a0d1a9d26c73a1e7fdaa04506ae03",
3+
"sha256": "00yb7d3b1aibwxwkpi4aa5q2s39pp3cdd979ah61cs8sgapac271",
4+
"sha256unpacked": "1in3zkd92h5mvvjx8gdj9jgnfn6l8yrjlmhhf39whj2a6zg8lyly"
55
}

0 commit comments

Comments
 (0)