diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-06-20 16:15:30 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-06-24 12:18:26 +0200 |
commit | 20001b719e1927d687c4909cf522e64cb93379e1 (patch) | |
tree | 03c8a420cb5d2b5baae45e9726df3a3979353ee3 /pkgs/os-specific | |
parent | d18d3b227a4c3caf7f6192931649b4681db62f88 (diff) |
ffado: pin to python311
Latest version still uses distutils and the imp module, both of which were removed in Python 3.12.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/ffado/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/ffado/default.nix b/pkgs/os-specific/linux/ffado/default.nix index f7549787f4379..47112a26c203a 100644 --- a/pkgs/os-specific/linux/ffado/default.nix +++ b/pkgs/os-specific/linux/ffado/default.nix @@ -15,14 +15,14 @@ libraw1394, libxmlxx3, pkg-config, - python3, + python311, scons, which, wrapQtAppsHook, }: let - python = python3.withPackages ( + python = python311.withPackages ( pkgs: with pkgs; [ pyqt5 dbus-python @@ -63,11 +63,11 @@ mkDerivation rec { nativeBuildInputs = [ desktop-file-utils - scons + (scons.override { python3 = python311; }) pkg-config which python - python3.pkgs.pyqt5 + python.pkgs.pyqt5 wrapQtAppsHook ]; @@ -79,7 +79,7 @@ mkDerivation rec { "WILL_DEAL_WITH_XDG_MYSELF=True" "BUILD_MIXER=True" "UDEVDIR=${placeholder "out"}/lib/udev/rules.d" - "PYPKGDIR=${placeholder "out"}/${python3.sitePackages}" + "PYPKGDIR=${placeholder "out"}/${python.sitePackages}" "BINDIR=${placeholder "bin"}/bin" "INCLUDEDIR=${placeholder "dev"}/include" "PYTHON_INTERPRETER=${python.interpreter}" |