-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.nix
22 lines (21 loc) · 747 Bytes
/
release.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
let
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;
# });
haga = haskellPackagesNew.callPackage ./default.nix { };
};
};
};
};
pkgs = import (builtins.fetchGit {
name = "nixpkgs-2020-05-13";
url = "https://github.com/NixOS/nixpkgs/";
rev = "a29c7741a3257f9e27daf126e18f472102eaa14b";
}) { inherit config; };
in { haga = pkgs.haskellPackages.haga; }