Merge pull request #147231 from NixOS/backport-147201-to-release-21.11

[Backport release-21.11] python3Packages.datatable: fix for non-x86
This commit is contained in:
Thiago Kenji Okada
2021-11-24 10:29:26 -03:00
committed by GitHub

View File

@@ -20,13 +20,16 @@ buildPythonPackage rec {
# authors seem to have created their own build system
format = "other";
# tarball doesn't appear to have been shipped totally ready-to-build
postPatch = ''
# tarball doesn't appear to have been shipped totally ready-to-build
substituteInPlace ci/ext.py \
--replace \
'shell_cmd(["git"' \
'"0000000000000000000000000000000000000000" or shell_cmd(["git"'
echo '${version}' > VERSION.txt
# don't make assumptions about architecture
sed -i '/-m64/d' ci/ext.py
'';
DT_RELEASE = "1";