This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 19
19
, enableProfiling ? false
20
20
, enableDebugging ? false
21
21
, enableBenchmarks ? true
22
+ , enablePhaseMetrics ? true
22
23
, allowCustomConfig ? true
23
24
, useStackBinaries ? false
24
25
} :
@@ -116,13 +117,20 @@ let
116
117
} ) ;
117
118
} ;
118
119
120
+ metricOverlay = self : super : {
121
+ mkDerivation = args : super . mkDerivation ( args // {
122
+ enablePhaseMetrics = true ;
123
+ } ) ;
124
+ } ;
125
+
119
126
cardanoPkgsBase = ( ( import ./pkgs { inherit pkgs ; } ) . override {
120
127
ghc = overrideDerivation pkgs . haskell . compiler . ghc822 ( drv : {
121
128
patches = drv . patches ++ [ ./ghc-8.0.2-darwin-rec-link.patch ] ;
122
129
} ) ;
123
130
} ) ;
124
131
125
132
activeOverlays = [ requiredOverlay ]
133
+ ++ optional enablePhaseMetrics metricOverlay
126
134
++ optional enableBenchmarks benchmarkOverlay
127
135
++ optional enableDebugging debugOverlay
128
136
++ optional forceDontCheck dontCheckOverlay ;
Original file line number Diff line number Diff line change 1
1
{
2
- "rev" : " 118431d4d68c68a6605932d94aae0a75a8309d95 " ,
3
- "sha256" : " 0w2a1ll8c5bysjqbm1ljzcgrmf0gkwm1c97xpfsb8k3ns56x4h52 " ,
4
- "sha256unpacked" : " 146z9syzfiq1phq3gs2kacq2zcvyzbpzxy52vhjgxhm1ygy449lm "
2
+ "rev" : " 4250ed05520fe19bb3a176f313a06a48e03fbe0e " ,
3
+ "sha256" : " 139hv9scw2hrdrrkmq0msnsvg8q4mg5d3m8inf8kq3m76pbp1h77 " ,
4
+ "sha256unpacked" : " 1bihcn6mmhr7g2pyms8iircwfg53prx7jphnwdw3ifwk4q5fjxnq "
5
5
}
You can’t perform that action at this time.
0 commit comments