diff --git a/README.md b/README.md index 488f8b02..073368c2 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ $ pkgx yq .provides * `pkg build` and `pkg test` take a `-L` flag to run in a Linux Docker container > * All commands take an optional pkg-spec eg. `pkg build node@19` +> While inside the pantry `dev` environment you can run commands from any built +> packages provided you specified their `provides:` key in the `package.yml`. > We use a special package called [`brewkit`] to build packages both here and > in CI/CD. `brewkit` provides the `pkg` command. diff --git a/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml b/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml index 5f564cd0..6f0590a2 100644 --- a/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml +++ b/projects/github.com/AUTOMATIC1111/stable-diffusion-webui/package.yml @@ -64,7 +64,7 @@ build: cd {{prefix}} # move this installation into its prefix - - run: | + - | cp -a $SRCROOT lib mkdir -p bin @@ -85,6 +85,15 @@ build: working-directory: lib + # gradio 3.41.2 fails to load anything if any part in the install path has a `.` prefix 🤦‍♂️ + # https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13292 + # FIXME should stop doing this when fixed + # https://github.com/gradio-app/gradio/pull/4303 + - run: + sed -i '/is_dotfile =/s/= .*/= False/' routes.py + working-directory: + lib/venv/lib/python3.10/site-packages/gradio + # delete our crap - rm -rf lib/props lib/xyz.tea.* lib/tea.yaml