2023-09-12 08:44:05 -06:00
|
|
|
{ isUnstable
|
|
|
|
, xinlib
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
let
|
2023-07-18 20:24:12 -06:00
|
|
|
inherit (xinlib) prIsOpen;
|
2023-10-30 13:08:33 -06:00
|
|
|
tailscale = prIsOpen.overlay 0 import ./tailscale.nix;
|
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
|
|
|
|
{
|
2023-07-11 09:12:50 -06:00
|
|
|
nixpkgs.overlays =
|
|
|
|
if isUnstable
|
|
|
|
then [
|
2023-10-30 13:08:33 -06:00
|
|
|
tailscale
|
2023-08-28 10:15:19 -06:00
|
|
|
heisenbridge
|
2023-09-15 07:10:55 -06:00
|
|
|
(_: super: {
|
|
|
|
cloud-hypervisor = super.cloud-hypervisor.overrideAttrs (_: {
|
|
|
|
cargoTestFlags = [ "--bins" ];
|
|
|
|
});
|
|
|
|
})
|
2023-06-30 11:03:36 -06:00
|
|
|
(_: super: {
|
|
|
|
clementine = super.clementine.overrideAttrs (_: {
|
|
|
|
patches = [
|
|
|
|
(super.fetchpatch {
|
|
|
|
name = "clementine-di-radio-fix.diff";
|
2023-07-11 09:12:50 -06:00
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/clementine-player/Clementine/pull/7217.diff";
|
2023-06-30 11:03:36 -06:00
|
|
|
hash = "sha256-kaKc2YFkXJRPibbKbBCHvlm6Y/H9zS83ohMxtUNUFlM=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
})
|
|
|
|
]
|
2023-07-18 20:24:12 -06:00
|
|
|
else [
|
2023-08-28 06:21:14 -06:00
|
|
|
#rex
|
2023-09-19 10:35:16 -06:00
|
|
|
(_: super: {
|
|
|
|
python3 = super.python3.override {
|
|
|
|
packageOverrides = _: python-super: {
|
|
|
|
pillow = python-super.pillow.overrideAttrs (_: rec {
|
|
|
|
version = "10.0.1";
|
|
|
|
src = python-super.fetchPypi {
|
|
|
|
pname = "Pillow";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-1ylnsGvpMA/tXPvItbr87sSL983H2rZrHSVJA1KHGR0=";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
2023-10-24 07:21:12 -06:00
|
|
|
matrix-synapse
|
2023-08-28 10:15:19 -06:00
|
|
|
heisenbridge
|
2023-08-17 06:11:44 -06:00
|
|
|
(_: super: {
|
|
|
|
invidious = super.invidious.overrideAttrs (_: {
|
|
|
|
patches = [
|
|
|
|
(super.fetchpatch {
|
|
|
|
name = "invidious-newpipe.diff";
|
|
|
|
url = "https://patch-diff.githubusercontent.com/raw/iv-org/invidious/pull/4037.patch";
|
|
|
|
hash = "sha256-KyqQtmfIPIX48S8SZnSlvCLvdw6Ws1u0oWEk8jLKWlU=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
})
|
2023-07-18 20:24:12 -06: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 ];
|
|
|
|
# });
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# })
|