mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
open-webui: 0.3.18 -> 0.3.19
This commit is contained in:
parent
b15cd6d3b2
commit
6889824f22
@ -7,25 +7,25 @@
|
||||
}:
|
||||
let
|
||||
pname = "open-webui";
|
||||
version = "0.3.18-unstable-2024-09-05";
|
||||
version = "0.3.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-webui";
|
||||
repo = "open-webui";
|
||||
rev = "c3271e84efc281dfed8c1e2d265cd24e1e5865e6";
|
||||
hash = "sha256-yOLxpRgwTVPlQASzFqul+ap/s7Wx3uxf4xr+Xb2Nb7A=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0POrTElR4oze9sypfsJrY8miBVK6JvHRDmzMhqntFA4=";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage {
|
||||
inherit pname version src;
|
||||
|
||||
npmDepsHash = "sha256-BkjvMD1XxELzxiPZagYd0aEUsaAl338h5W9nvxxrJJg=";
|
||||
npmDepsHash = "sha256-03F9Pz4RWoswdYh9lLEHtg5WitCsrG3JOa2S/RJDtZI=";
|
||||
|
||||
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
|
||||
# Until this is solved, running python packages from the browser will not work.
|
||||
postPatch = ''
|
||||
substituteInPlace package.json \
|
||||
--replace-fail "npm run pyodide:fetch && vite build" "vite build" \
|
||||
--replace-fail "npm run pyodide:fetch && vite build" "vite build"
|
||||
'';
|
||||
|
||||
env.CYPRESS_INSTALL_BINARY = "0"; # disallow cypress from downloading binaries in sandbox
|
||||
|
Loading…
Reference in New Issue
Block a user