fpp: requires python3

This commit is contained in:
Marek Mahut 2019-08-20 20:12:53 +02:00
parent d0f27576d8
commit f061fb6412
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python27 }: { stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fpp-${version}"; name = "fpp-${version}";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
postPatch = '' postPatch = ''
substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27.interpreter}"' substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python3.interpreter}"'
''; '';
installPhase = '' installPhase = ''