Files
nixos/overlays/pkgs.nix
T
oqyude 1e7da18bd4
nixos flake checks / invariant-checks (push) Successful in 2m11s
test-runner / smoke (push) Successful in 1s
3x-ui v3.12.0, nixpkgs-master удалён, opencode 2.4.1 на sapphira
3x-ui (ADR-0013): пин v3.11.0 -> v3.12.0 (2026-11-29), бандл Xray-core
26.11.9. Блокеры апстрима проверены и не применимы: нешифрованных
VLESS/Trojan аутбаундов в CGNAT/198.18.0.0/15 нет, секций geodata нет.
REALITY-условия (fp=chrome/firefox/safari, minClientVer=1.0.0) те же.
Развёрнуто: otreca gen 96, sapphira gen 882; панель 200, ядро 26.11.9,
порты сохранены, warp-masque не тронут. Бэкапы db/ сняты до старта.

nixpkgs-master: вход удалён из flake.nix (lock перегенерирован), brave
снова из дефолтного nixpkgs (1.100.59), nginx = pkgs.nginxMainline
(1.31.10, CVE-2026-123007 закрыт), мёртвые ссылки в nextcloud/onlyoffice/
opencode вычищены. Все 6 конфигураций эвалируются.

opencode: на sapphira 2.4.1 — собран в WSL и замыкание скопировано в её
store до активации (слабая машина не компилирует bun-пакет).

Плюс nixfmt-правка modules/server/engipy-backend.nix (дрейф форматтера).
2026-12-02 02:51:22 +03:00

45 lines
2.4 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
inputs,
...
}:
self: super: {
rovr = inputs.self.packages.x86_64-linux.rovr;
pcbu-desktop = inputs.self.packages.x86_64-linux.pcbu-desktop;
# fresh-editor 0.5.4 (nixpkgs f4a03c0) не собирается: cargo-setup-hook
# безусловно экспортирует RUSTONIG_SYSTEM_LIBONIG=1, а пакет не тянет
# oniguruma, и onig_sys падает на `pkg-config --libs oniguruma`. В nixpkgs
# master на 2026-11-09 не исправлено. Поэтому берём пакет из
# inputs.nixpkgs-fresh (последний rev nixos-unstable с fresh-editor 0.5.3;
# он уже собран на sapphira). Убрать вместе с inputs.nixpkgs-fresh, когда
# пин nixpkgs получит исправленный пакет.
fresh-editor = inputs.nixpkgs-fresh.legacyPackages.${super.stdenv.hostPlatform.system}.fresh-editor;
# mcat 0.6.7 — та же поломка: hook ставит AWS_LC_SYS_USE_SYSTEM=1, а пакет
# не тянет системный AWS-LC -> aws-lc-sys падает на этапе build. В 0.6.5
# (nixpkgs-fresh) этой зависимости нет. Убрать вместе с fresh-editor.
mcat = inputs.nixpkgs-fresh.legacyPackages.${super.stdenv.hostPlatform.system}.mcat;
# brave: в пине nixpkgs e713fda (2026-11-29) пакет снова на месте
# (1.100.59), поэтому master-оверрайд не нужен. 2026-12-02 вход
# `nixpkgs-master` удалён из flake.nix целиком (R1.5).
# The SDDM themes shipped by whitesur-kde (2024-11-18) are forks of the
# breeze greeter theme and still instantiate `VirtualKeyboardLoader`, a type
# that plasma-workspace >= 6.6 removed from org.kde.breeze.components in
# favour of the KWin virtual-keyboard integration. sddm-greeter-qt6 refuses
# to load such a theme and silently falls back to the plain embedded one:
# Main.qml:316:9: VirtualKeyboardLoader is not a type
# Fallback to embedded theme
# (seen on rydiwo). Rewrite the loader to the API the current breeze theme
# uses; see overlays/patch-whitesur-sddm.pl.
whitesur-kde = super.whitesur-kde.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ super.perl ];
postPatch = (old.postPatch or "") + ''
for f in sddm/*/Main.qml; do
${super.perl}/bin/perl ${./patch-whitesur-sddm.pl} "$f"
done
'';
});
}