16 lines
472 B
Nix
Raw Normal View History

2019-06-20 01:41:51 -07:00
let
pkgs = (import ./base.nix);
profiledHaskellPackages = pkgs.haskellPackages.override (old: {
overrides = pkgs.lib.composeExtensions (old.overrides or (_: _: {})) (self: super: {
mkDerivation = args: super.mkDerivation (args // {
enableLibraryProfiling = true;
});
});
});
in pkgs.haskellPackages.shellFor {
2020-11-29 17:38:03 -08:00
packages = p: [
(pkgs.haskell.lib.doBenchmark p.imalison-taffybar)
(pkgs.haskell.lib.doBenchmark p.taffybar)
2019-06-20 01:41:51 -07:00
];
}