packages/forgejo: init with patches

This commit is contained in:
Max Headroom 2023-07-23 22:23:17 +02:00
parent bfc825b73f
commit fe5b9921dd
2 changed files with 14 additions and 0 deletions

View file

@ -51,6 +51,8 @@ super: rec {
dvc-objects = super.python3Packages.dvc-objects.overrideAttrs dvcMd5ToSha256; dvc-objects = super.python3Packages.dvc-objects.overrideAttrs dvcMd5ToSha256;
forgejo = patch super.forgejo "patches/base/forgejo";
jellyfin = patch (super.jellyfin.override { jellyfin = patch (super.jellyfin.override {
ffmpeg = super.ffmpeg.override { ffmpeg = super.ffmpeg.override {
withMfx = true; withMfx = true;

View 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",