18 lines
387 B
Nix
18 lines
387 B
Nix
{ pkgs, src, version, ... }:
|
|
|
|
pkgs.buildNpmPackage {
|
|
pname = "authentik-webui";
|
|
inherit src version;
|
|
|
|
sourceRoot = "source/web";
|
|
|
|
npmDepsHash = "sha256:0vnw31fd5in01jmhm4lx58z4l2lrficycipcxwn9xw2widi1g9xf";
|
|
|
|
dontNpmInstall = true;
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir $out
|
|
cp -r robots.txt security.txt dist/ authentik/ $out
|
|
runHook postInstall
|
|
'';
|
|
}
|