Skip to content

Commit

Permalink
gitea: Fix substitution in wrong file after rebasing a patch
Browse files Browse the repository at this point in the history
This command is needed to substitute @DaTa@ which is added by
static-root-path.patch. When this patch was rebased for 1.19.0,
the file name changed, but the command was not updated.

(cherry picked from commit 2a29464)
  • Loading branch information
mitya57 authored and nh2 committed Jul 13, 2023
1 parent 4897f66 commit 065f8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/gitea/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ buildGoModule rec {
];

postPatch = ''
substituteInPlace modules/setting/setting.go --subst-var data
substituteInPlace modules/setting/server.go --subst-var data
'';

subPackages = [ "." ];
Expand Down

0 comments on commit 065f8ab

Please sign in to comment.