2023-09-12 08:44:05 -06:00
|
|
|
{ isUnstable
|
|
|
|
, xinlib
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
let
|
2023-07-18 20:24:12 -06:00
|
|
|
inherit (xinlib) prIsOpen;
|
2023-10-31 09:21:39 -06:00
|
|
|
matrix-synapse = prIsOpen.overlay 0 (import ./matrix-synapse.nix);
|
2023-08-28 10:15:19 -06:00
|
|
|
heisenbridge = prIsOpen.overlay 0 (import ./heisenbridge.nix);
|
2023-09-12 08:44:05 -06:00
|
|
|
in
|
|
|
|
{
|
2024-01-24 08:27:31 -07:00
|
|
|
nixpkgs.overlays = [ heisenbridge ] ++
|
|
|
|
(if isUnstable
|
2023-07-11 09:12:50 -06:00
|
|
|
then [
|
2023-06-30 11:03:36 -06:00
|
|
|
]
|
2023-07-18 20:24:12 -06:00
|
|
|
else [
|
2023-10-24 07:21:12 -06:00
|
|
|
matrix-synapse
|
2024-01-24 08:27:31 -07:00
|
|
|
]);
|
2022-08-25 12:21:35 -06:00
|
|
|
}
|
2022-10-01 07:18:49 -06:00
|
|
|
# Example Python dep overlay
|
|
|
|
# (self: super: {
|
|
|
|
# python3 = super.python3.override {
|
|
|
|
# packageOverrides = python-self: python-super: {
|
|
|
|
# canonicaljson = python-super.canonicaljson.overrideAttrs (oldAttrs: {
|
|
|
|
# nativeBuildInputs = [ python-super.setuptools ];
|
|
|
|
# });
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# })
|