1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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 = ''