3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.textx: Fix build

This commit is contained in:
Jonas Heinrich 2022-07-18 22:55:07 +02:00 committed by Yt
parent 72ba7ecdd2
commit 4b90397139

View file

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, python3
, python
, fetchFromGitHub
, mkdocs
, twine
@ -53,7 +53,7 @@ let
postInstall = ''
# FileNotFoundError: [Errno 2] No such file or directory: '$out/lib/python3.10/site-packages/textx/textx.tx
cp "$src/textx/textx.tx" "$out/${python3.sitePackages}/${pname}/"
cp "$src/textx/textx.tx" "$out/lib/${python.libPrefix}/site-packages/${pname}/"
# Install tests as the tests output.
mkdir $testout