Files
nix-config/overlays/default.nix
Zuckerberg b29e80f3e9
Some checks failed
Check Flake / check-flake (push) Failing after 4m5s
Patch attic-client to retry on push failure
Backport zhaofengli/attic#246 to work around a hyper connection pool
race condition that causes spurious "connection closed before message
completed" errors during cache uploads in CI.
2026-03-03 22:40:27 -08:00

35 lines
1.2 KiB
Nix

{ inputs }:
final: prev:
let
system = prev.system;
in
{
# Disable CephFS support in samba to work around upstream nixpkgs bug:
# ceph is pinned to python3.11 which is incompatible with sphinx >= 9.1.0.
# https://github.com/NixOS/nixpkgs/issues/442652
samba4Full = prev.samba4Full.override { enableCephFS = false; };
# Fix incus-lts doc build: `incus manpage` tries to create
# ~/.config/incus, but HOME is /homeless-shelter in the nix sandbox.
incus-lts = prev.incus-lts.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.writableTmpDirAsHomeHook ];
});
# Retry on push failure to work around hyper connection pool race condition.
# https://github.com/zhaofengli/attic/pull/246
attic-client = prev.attic-client.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
../patches/attic-client-push-retry.patch
];
});
# Add --zeroconf-port support to Spotify Connect plugin so librespot
# binds to a fixed port that can be opened in the firewall.
music-assistant = prev.music-assistant.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
../patches/music-assistant-zeroconf-port.patch
];
});
}