Remove sh invocation in Bookwyrm dependency linking
This commit is contained in:
parent
b5b7cec664
commit
918544c914
1 changed files with 2 additions and 2 deletions
|
@ -102,11 +102,11 @@ mkDerivation {
|
|||
|
||||
pythonDependencies="${ concatStringsSep " " pythonDependencies }"
|
||||
for package in $pythonDependencies ; do
|
||||
for directory in $( sh -c "cd $package/lib/python3.11/site-packages ; find -mindepth 1 -type d -not -name __pycache__" ) ; do
|
||||
for directory in $( cd $package/lib/python3.11/site-packages ; find -mindepth 1 -type d -not -name __pycache__ ) ; do
|
||||
mkdir -p $out/lib/python3.11/site-packages/$directory
|
||||
done
|
||||
|
||||
for file in $( sh -c "cd $package/lib/python3.11/site-packages ; find -type f -not -path \*__pycache__\*" ) ; do
|
||||
for file in $( cd $package/lib/python3.11/site-packages ; find -type f -not -path \*__pycache__\* ) ; do
|
||||
ln -s $package/lib/python3.11/site-packages/$file $out/lib/python3.11/site-packages/$file
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue