Skip to content

Commit

Permalink
build: re-allow optional patching of Nuitka sources
Browse files Browse the repository at this point in the history
  • Loading branch information
xen0n committed Sep 2, 2024
1 parent 1d55897 commit d0b3c96
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ do_inner() {
poetry install --with=dist --without=dev
endgroup

if [[ -d ${REPO_ROOT}/scripts/patches/nuitka ]]; then
green "patching Nuitka" group
pushd /home/b/venv/lib/python*/site-packages > /dev/null
for patch_file in "$REPO_ROOT"/scripts/patches/nuitka/*.patch; do
echo " * $(basename "$patch_file")"
patch -Np1 < "$patch_file"
done
popd > /dev/null
endgroup
fi

exec ./scripts/dist-inner.py
}

Expand Down

0 comments on commit d0b3c96

Please sign in to comment.