packages/forgejo: init with patches
This commit is contained in:
parent
bfc825b73f
commit
fe5b9921dd
2 changed files with 14 additions and 0 deletions
|
@ -51,6 +51,8 @@ super: rec {
|
|||
|
||||
dvc-objects = super.python3Packages.dvc-objects.overrideAttrs dvcMd5ToSha256;
|
||||
|
||||
forgejo = patch super.forgejo "patches/base/forgejo";
|
||||
|
||||
jellyfin = patch (super.jellyfin.override {
|
||||
ffmpeg = super.ffmpeg.override {
|
||||
withMfx = true;
|
||||
|
|
12
patches/base/forgejo/oauth2-secret-from-env.patch
Normal file
12
patches/base/forgejo/oauth2-secret-from-env.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/cmd/admin.go b/cmd/admin.go
|
||||
index f9fb1b6c6..2725b1f1c 100644
|
||||
--- a/cmd/admin.go
|
||||
+++ b/cmd/admin.go
|
||||
@@ -151,6 +151,7 @@ var (
|
||||
Name: "secret",
|
||||
Value: "",
|
||||
Usage: "Client Secret",
|
||||
+ EnvVar: "FORGEJO_ADMIN_OAUTH2_SECRET",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "auto-discover-url",
|
Loading…
Reference in a new issue