1 { stdenv, nodejs, pnpm, fetchFromGitHub }:
4 inherit (import ./sources.nix { inherit fetchFromGitHub; }) pname version src pnpmDepsHash;
6 stdenv.mkDerivation (finalAttrs: {
7 pname = "${pname}-web";
10 sourceRoot = "${finalAttrs.src.name}/web";
17 pnpmDeps = pnpm.fetchDeps {
18 inherit (finalAttrs) pname version src sourceRoot;
23 substituteInPlace ./vite.config.ts \
24 --replace 'outDir: "../internal/server/public_html"' 'outDir: "dist"'
35 mv dist $out/share/authelia-web