fix(python): disable python metadata check for cheetah3 to fix sabnzbd build

This commit is contained in:
Noah Masur
2026-07-28 11:34:39 -04:00
parent 1960d84e7a
commit e107431fa9
2 changed files with 14 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog # Changelog
## 2026-07-25
- Added `overlays/cheetah3.nix` to disable `pythonMetadataCheckPhase` for `cheetah3`.
This fixes an issue where the NixOS rebuild fails for `sabnzbd` due to `importlib.metadata.PackageNotFoundError: No package metadata was found for cheetah3` during the Python package evaluation in `nixos-unstable`.
## 2026-07-20 ## 2026-07-20
- Added `overlays/paho-mqtt.nix` to disable paho-mqtt's flaky, socket-based - Added `overlays/paho-mqtt.nix` to disable paho-mqtt's flaky, socket-based
+9
View File
@@ -0,0 +1,9 @@
_inputs: _final: prev: {
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(_pyfinal: pyprev: {
cheetah3 = pyprev.cheetah3.overridePythonAttrs (_old: {
dontCheckPythonMetadata = true;
});
})
];
}