isocodes: fix cross to non-Python platforms
These were being patched for the host system's Python, which was incorrect, as they are not installed. But the patching turns out not to be required at all any more, as the build system runs the scripts with the python3 command instead of directly.
This commit is contained in:
parent
421acf1022
commit
ff58d2801c
|
@ -9,13 +9,6 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-QI95nfQTVGj6fKNetrBcQAS+pEPYHKWLibLkgkAagrs=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
for i in `find . -name \*.py`
|
||||
do
|
||||
sed -i -e "s|#!/usr/bin/env python|#!${python3}/bin/python|" $i
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ gettext python3 ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue