tvheadend: use python3

This commit is contained in:
Martin Weinelt 2022-12-21 15:44:31 +01:00
parent 60ff1ccd98
commit 8091f32439
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, pkg-config
, avahi, dbus, gettext, git, gnutar, gzip, bzip2, ffmpeg_4, libiconv, openssl, python2
, avahi, dbus, gettext, git, gnutar, gzip, bzip2, ffmpeg_4, libiconv, openssl, python3
, v4l-utils, which, zlib }:
let
@ -40,11 +40,11 @@ in stdenv.mkDerivation {
];
buildInputs = [
avahi dbus gettext git gnutar gzip bzip2 ffmpeg_4 libiconv openssl python2
avahi dbus gettext git gnutar gzip bzip2 ffmpeg_4 libiconv openssl
which zlib
];
nativeBuildInputs = [ cmake makeWrapper pkg-config ];
nativeBuildInputs = [ cmake makeWrapper pkg-config python3 ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" "-Wno-error=stringop-truncation" ];