Allow composing package elsewhere.

main
Joshua Potter 2022-04-01 13:23:29 -04:00
parent f0c45c8af5
commit 10e8407424
1 changed files with 3 additions and 5 deletions

View File

@ -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