Enhance release.nix format
This commit is contained in:
parent
2a9459f226
commit
a702bb6431
21
release.nix
21
release.nix
|
@ -1,5 +1,18 @@
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> { };
|
config = {
|
||||||
in
|
packageOverrides = pkgs: rec {
|
||||||
{ ga = pkgs.haskellPackages.callPackage ./default.nix { };
|
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; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user