haga/release.nix

23 lines
747 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-11-09 15:02:19 +01:00
pkgs = import (builtins.fetchGit {
name = "nixpkgs-2020-05-13";
url = "https://github.com/NixOS/nixpkgs/";
rev = "a29c7741a3257f9e27daf126e18f472102eaa14b";
}) { inherit config; };
2019-10-22 16:53:50 +02:00
in { haga = pkgs.haskellPackages.haga; }