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

Commit 72b237d

Browse files
committed
[DEVOPS-1013] bump nixpkgs and add enablePhaseMetrics=true
1 parent cf4c65e commit 72b237d

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

default.nix

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ in
1919
, enableProfiling ? false
2020
, enableDebugging ? false
2121
, enableBenchmarks ? true
22+
, enablePhaseMetrics ? true
2223
, allowCustomConfig ? true
2324
, useStackBinaries ? false
2425
}:
@@ -116,13 +117,20 @@ let
116117
});
117118
};
118119

120+
metricOverlay = self: super: {
121+
mkDerivation = args: super.mkDerivation (args // {
122+
enablePhaseMetrics = true;
123+
});
124+
};
125+
119126
cardanoPkgsBase = ((import ./pkgs { inherit pkgs; }).override {
120127
ghc = overrideDerivation pkgs.haskell.compiler.ghc822 (drv: {
121128
patches = drv.patches ++ [ ./ghc-8.0.2-darwin-rec-link.patch ];
122129
});
123130
});
124131

125132
activeOverlays = [ requiredOverlay ]
133+
++ optional enablePhaseMetrics metricOverlay
126134
++ optional enableBenchmarks benchmarkOverlay
127135
++ optional enableDebugging debugOverlay
128136
++ 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": "4250ed05520fe19bb3a176f313a06a48e03fbe0e",
3+
"sha256": "139hv9scw2hrdrrkmq0msnsvg8q4mg5d3m8inf8kq3m76pbp1h77",
4+
"sha256unpacked": "1bihcn6mmhr7g2pyms8iircwfg53prx7jphnwdw3ifwk4q5fjxnq"
55
}

0 commit comments

Comments
 (0)