···38 substituteInPlace $file \
39 --replace '/usr/bin/env python2' '/usr/bin/env python'
40 done
000041 '';
4243 # NB: We don't move the main entry point into `/bin`, or even symlink it,
···38 substituteInPlace $file \
39 --replace '/usr/bin/env python2' '/usr/bin/env python'
40 done
41+42+ # needed for cross compilation
43+ substituteInPlace ./chelper/__init__.py \
44+ --replace 'GCC_CMD = "gcc"' 'GCC_CMD = "${stdenv.cc.targetPrefix}cc"'
45 '';
4647 # NB: We don't move the main entry point into `/bin`, or even symlink it,