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

Commit

Permalink
[DEVOPS-1013] bump nixpkgs and add enablePhaseMetrics=true
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler committed Aug 24, 2018
1 parent 74340ea commit da59420
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,20 @@ let
});
};

metricOverlay = self: super: {
mkDerivation = args: super.mkDerivation (args // {
enablePhaseMetrics = true;
});
};

cardanoPkgsBase = ((import ./pkgs { inherit pkgs; }).override {
ghc = overrideDerivation pkgs.haskell.compiler.ghc822 (drv: {
patches = drv.patches ++ [ ./ghc-8.0.2-darwin-rec-link.patch ];
});
});

activeOverlays = [ requiredOverlay ]
++ [ metricOverlay ]
++ optional enableBenchmarks benchmarkOverlay
++ optional enableDebugging debugOverlay
++ optional forceDontCheck dontCheckOverlay;
Expand Down
6 changes: 3 additions & 3 deletions nixpkgs-src.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rev": "118431d4d68c68a6605932d94aae0a75a8309d95",
"sha256": "0w2a1ll8c5bysjqbm1ljzcgrmf0gkwm1c97xpfsb8k3ns56x4h52",
"sha256unpacked": "146z9syzfiq1phq3gs2kacq2zcvyzbpzxy52vhjgxhm1ygy449lm"
"rev": "3518baa230549044151557c2c37eb8b06897f86d",
"sha256": "1c71lslxiz570xcl13sgp46h9pzjmb2sq0pyj6z42j6mzdfc9rz3",
"sha256unpacked": "1bihcn6mmhr7g2pyms8iircwfg53prx7jphnwdw3ifwk4q5fjxnq"
}

0 comments on commit da59420

Please sign in to comment.