libctemplate: use python2

This commit is contained in:
Frederik Rietdijk 2017-02-08 19:38:53 +01:00
parent e7395434db
commit b620ad24be

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python }:
{ stdenv, fetchurl, python2 }:
stdenv.mkDerivation rec {
name = "ctemplate-${version}";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr";
};
buildInputs = [ python ];
buildInputs = [ python2 ];
postPatch = ''
patchShebangs .