python310Packages.textx: use python.sitePackages instead of constructing it manully
This commit is contained in:
parent
7e9e066b33
commit
1bfa5c43b5
|
@ -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/lib/${python.libPrefix}/site-packages/${pname}/"
|
||||
cp "$src/textx/textx.tx" "$out/${python.sitePackages}/${pname}/"
|
||||
|
||||
# Install tests as the tests output.
|
||||
mkdir $testout
|
||||
|
|
Loading…
Reference in a new issue