haga/release.nix

20 lines
673 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;
# });
2019-10-22 16:53:50 +02:00
haga = haskellPackagesNew.callPackage ./default.nix { };
2019-10-19 17:07:45 +02:00
};
};
};
};
2020-04-29 16:05:09 +02:00
# pkgs = import <nixpkgs> { inherit config; };
pkgs = import /home/david/Code/nixpkgs/default.nix { inherit config; };
2019-10-22 16:53:50 +02:00
in { haga = pkgs.haskellPackages.haga; }