isocodes: fix cross
This commit is contained in:
parent
62e6e1366d
commit
1bdae8f675
@ -8,13 +8,15 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://salsa.debian.org/iso-codes-team/iso-codes/uploads/ef8de8bc12e0512d26ed73436a477871/${name}.tar.xz";
|
url = "https://salsa.debian.org/iso-codes-team/iso-codes/uploads/ef8de8bc12e0512d26ed73436a477871/${name}.tar.xz";
|
||||||
sha256 = "08i8hjy0qjlw9kd9i87jx967ihwh45l2xi55q1aa5265sind7byb";
|
sha256 = "08i8hjy0qjlw9kd9i87jx967ihwh45l2xi55q1aa5265sind7byb";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
for i in `find . -name \*.py`
|
for i in `find . -name \*.py`
|
||||||
do
|
do
|
||||||
sed -i -e "s|#!/usr/bin/env python|#!${python3}/bin/python|" $i
|
sed -i -e "s|#!/usr/bin/env python|#!${python3}/bin/python|" $i
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
buildInputs = [ gettext python3 ];
|
|
||||||
|
nativeBuildInputs = [ gettext python3 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://salsa.debian.org/iso-codes-team/iso-codes;
|
homepage = https://salsa.debian.org/iso-codes-team/iso-codes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user