1 { buildNpmPackage, fetchFromGitHub }:
4 inherit (import ./sources.nix { inherit fetchFromGitHub; }) pname version src npmDepsHash;
7 pname = "${pname}-web";
8 inherit src version npmDepsHash;
10 sourceRoot = "${src.name}/web";
13 substituteInPlace ./vite.config.ts \
14 --replace 'outDir: "../internal/server/public_html"' 'outDir: "dist"'
15 cp ${./package-lock.json} ./package-lock.json
18 npmFlags = [ "--legacy-peer-deps" ];
24 mv dist $out/share/authelia-web