36 lines
819 B
Nix
36 lines
819 B
Nix
{ isUnstable
|
|
, xinlib
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (xinlib) prIsOpen todo;
|
|
matrix-synapse-unwrapped = prIsOpen.overlay 0 (import ./matrix-synapse.nix);
|
|
heisenbridge = prIsOpen.overlay 0 (import ./heisenbridge.nix);
|
|
in
|
|
{
|
|
nixpkgs.overlays = [
|
|
heisenbridge
|
|
matrix-synapse-unwrapped
|
|
(_: super: {
|
|
libressl = super.libressl.overrideAttrs (_: {
|
|
doCheck = todo "libressl tests disabled when building with musl" false;
|
|
});
|
|
})
|
|
] ++
|
|
(if isUnstable
|
|
then [
|
|
(_: super: {
|
|
drawterm-wayland = super.drawterm-wayland.overrideAttrs (_: rec {
|
|
patches = [
|
|
(super.fetchpatch {
|
|
url = "http://okturing.com/src/19729/body";
|
|
sha256 = "sha256-DKmxC2HA/PlhZFd0P54CzPufURDyx4bA04OmFess974=";
|
|
})
|
|
];
|
|
});
|
|
})
|
|
]
|
|
else [
|
|
]);
|
|
}
|