fpp: requires python3

This commit is contained in:
Marek Mahut 2019-08-20 20:12:53 +02:00
parent d0f27576d8
commit f061fb6412

View File

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