authelia: 4.39.12 -> 4.39.18 (#506399)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{ fetchFromGitHub }:
|
||||
rec {
|
||||
pname = "authelia";
|
||||
version = "4.39.12";
|
||||
version = "4.39.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "authelia";
|
||||
repo = "authelia";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-u7TIhOGXfvWdAXvpL5qa43jaoa7PNAVL2MtGEuWBDPc=";
|
||||
hash = "sha256-IROdncF3TC1X9000jw0RGtrcFrzqRpG7g2QuLGQ/Q4k=";
|
||||
};
|
||||
vendorHash = "sha256-7RoPv4OvOhiv+TmYOJuW95h/uh2LuTrpUSAZiTvbh7g=";
|
||||
pnpmDepsHash = "sha256-Ck2nqFwDv3OxN0ONA3A+h4Rli1te+EYqKivcqrAInKw=";
|
||||
vendorHash = "sha256-ZDsLRMip2B8PPZu8VxW+91FVvwC2rXzohhAZFifT26g=";
|
||||
pnpmDepsHash = "sha256-ki/jXNT9dIno1UIcDgBcsLdiKcaiw/dwnff3t9xv07o=";
|
||||
}
|
||||
|
||||
@@ -40,8 +40,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
NL=$'\n'
|
||||
LINE_BEFORE_HOST='allowedHosts: ["login.example.com", ...allowedHosts],'
|
||||
|
||||
substituteInPlace ./vite.config.ts \
|
||||
--replace 'outDir: "../internal/server/public_html"' 'outDir: "dist"'
|
||||
--replace-fail 'outDir: "../internal/server/public_html"' 'outDir: "dist"' \
|
||||
--replace-fail "$LINE_BEFORE_HOST" "$LINE_BEFORE_HOST$NL"' host: "127.0.0.1",'
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
|
||||
Reference in New Issue
Block a user