Allow composing package elsewhere.
parent
f0c45c8af5
commit
10e8407424
|
@ -19,11 +19,9 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
overlay = final: prev: {
|
overlay = final: prev: {
|
||||||
haskellPackages = prev.haskellPackages.override {
|
haskellPackages = prev.haskellPackages.extend (_self: _super: {
|
||||||
overrides = _self: _super: {
|
|
||||||
"${name}" = prev.haskellPackages.callCabal2nix name self { };
|
"${name}" = prev.haskellPackages.callCabal2nix name self { };
|
||||||
};
|
});
|
||||||
};
|
|
||||||
};
|
};
|
||||||
} // (flake-utils.lib.eachDefaultSystem (system:
|
} // (flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in New Issue