Skip to content

Commit

Permalink
recceiver: disable for Python 3.12+, switch to Python 3.11 for NixOS …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
minijackson committed Jan 15, 2025
1 parent 45efd2b commit b6c0457
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/channel-finder/recceiver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
}: let
cfg = config.services.recceiver;

pkg = pkgs.python3Packages.recceiver;
python = pkgs.python3.withPackages (
pkg = pkgs.python311Packages.recceiver;
python = pkgs.python311.withPackages (
ps: [
ps.recceiver
ps.twisted
Expand Down
5 changes: 5 additions & 0 deletions pkgs/epnix/tools/channel-finder/recceiver/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
epnixLib,
buildPythonPackage,
pythonAtLeast,
fetchFromGitHub,
python,
setuptools-scm,
Expand All @@ -13,6 +14,10 @@ buildPythonPackage rec {
version = "1.6";
pyproject = true;

# Should be fixed by https://github.com/ChannelFinder/recsync/pull/88
# but the patch doesn't apply cleanly
disabled = pythonAtLeast "3.12";

src = fetchFromGitHub {
owner = "ChannelFinder";
repo = "recsync";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
{pkgs, ...}: {
channelfinder-default-python = pkgs.python3Packages.channelfinder;
mrf-driver-default-linux = pkgs.linuxPackages.mrf;
recceiver-default-python = pkgs.python3Packages.recceiver;
recceiver-default-python = pkgs.python311Packages.recceiver;
aiaoca-default-python = pkgs.python3Packages.aioca;
}

0 comments on commit b6c0457

Please sign in to comment.