haga/release.nix
2020-04-29 16:05:09 +02:00

20 lines
673 B
Nix

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 <nixpkgs> { inherit config; };
pkgs = import /home/david/Code/nixpkgs/default.nix { inherit config; };
in { haga = pkgs.haskellPackages.haga; }