haga/release.nix

19 lines
591 B
Nix
Raw Normal View History

2019-05-30 12:40:32 +02:00
let
2019-10-19 17:07:45 +02:00
config = {
packageOverrides = pkgs: rec {
haskellPackages = pkgs.haskellPackages.override {
overrides = haskellPackagesNew: haskellPackagesOld: rec {
# NOTE to enable profiling in all other libraries (to enable for
# haxcs, add ghc-options)
# mkDerivation = args: super.mkDerivation (args // {
# enableLibraryProfiling = true;
# });
ga = haskellPackagesNew.callPackage ./default.nix { };
};
};
};
};
pkgs = import <nixpkgs> { inherit config; };
in { ga = pkgs.haskellPackages.ga; }