Omit current dir in Bookwyrm dependency linking

This commit is contained in:
Reinout Meliesie 2025-03-08 13:58:45 +01:00
parent 555a908e43
commit ba773ffff3
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -100,7 +100,7 @@ mkDerivation {
pythonDependencies="${ concatStringsSep " " pythonDependencies }"
for package in $pythonDependencies ; do
for directory in $( sh -c "cd $package/lib/python3.11/site-packages ; find -type d -not -name __pycache__" ) ; do
for directory in $( sh -c "cd $package/lib/python3.11/site-packages ; find -mindepth 1 -type d -not -name __pycache__" ) ; do
mkdir $out/lib/python3.11/site-packages/$directory
done