C1: deploy shower v1.1.0 (phases + guest memories) #354
1 changed files with 7 additions and 1 deletions
C1: shower — copy wheel to clean filename before pip install
Nix store paths embed a 32-char hash prefix, which pip rejects as "Invalid wheel filename (invalid version)". Copy the wheel into TMPDIR under its bare name first, then install from there. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
commit
a156ea7687
|
|
@ -82,10 +82,16 @@ let
|
||||||
|
|
||||||
${python}/bin/python -m venv "$TMPDIR/venv"
|
${python}/bin/python -m venv "$TMPDIR/venv"
|
||||||
"$TMPDIR/venv/bin/pip" install --upgrade pip
|
"$TMPDIR/venv/bin/pip" install --upgrade pip
|
||||||
|
|
||||||
|
# Nix store paths embed a 32-char hash prefix, which pip's wheel
|
||||||
|
# filename parser rejects ("Invalid wheel filename"). Copy to a
|
||||||
|
# clean filename in TMPDIR before installing.
|
||||||
|
cp ${showerWheel} "$TMPDIR/${showerWheel.name}"
|
||||||
|
|
||||||
"$TMPDIR/venv/bin/pip" install \
|
"$TMPDIR/venv/bin/pip" install \
|
||||||
--no-cache-dir \
|
--no-cache-dir \
|
||||||
--index-url=https://pypi.ops.eblu.me/root/pypi/+simple/ \
|
--index-url=https://pypi.ops.eblu.me/root/pypi/+simple/ \
|
||||||
${showerWheel} \
|
"$TMPDIR/${showerWheel.name}" \
|
||||||
gunicorn
|
gunicorn
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue