baserow: copy missing non-Python directories into sitePackages anyway
This commit is contained in:
parent
c2ca979558
commit
d806f8da1c
1 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,12 @@ in
|
|||
# Yeet. Just assume everything is installed in the environment already.
|
||||
> requirements/base.txt
|
||||
'';
|
||||
postInstall = ''
|
||||
comm -23 <(find $src/src/baserow/ -type d | sed "s,$src/src/baserow/,," | sort) <(find $out/${python.sitePackages}/baserow/ -type d | sed "s,$out/${python.sitePackages}/baserow/,," | sort) | while read missingDir; do
|
||||
test -e "$out/${python.sitePackages}/baserow/$missingDir" && continue
|
||||
cp -R "$src/src/baserow/$missingDir" "$out/${python.sitePackages}/baserow/$missingDir"
|
||||
done
|
||||
'';
|
||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ (with python.pkgs; [
|
||||
baserow-premium-backend
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue