Merge pull request #2389 from bennofs/haskell-ghc-gc-tune

haskell-ghc-gc-tune: new expression
This commit is contained in:
Oliver Charles 2014-04-25 12:12:57 +01:00
commit 5de0ca50d7
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{ cabal, filepath }:
cabal.mkDerivation (self: {
pname = "ghc-gc-tune";
version = "0.3";
sha256 = "0ghp3f86m91zi6kl8zq157717s2p73nwdgln4aiclq830m72ys9w";
isLibrary = false;
isExecutable = true;
buildDepends = [ filepath ];
meta = {
homepage = "http://code.haskell.org/~dons/code/ghc-gc-tune";
description = "Graph performance of Haskell programs with different GC flags";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1178,6 +1178,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
ghcEventsAnalyze = callPackage ../development/tools/haskell/ghc-events-analyze {};
ghcGcTune = callPackage ../development/tools/haskell/ghc-gc-tune {};
ghcHeapView = callPackage ../development/libraries/haskell/ghc-heap-view {
cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled
};