diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2023-06-08 20:16:13 +0300 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2023-06-08 20:16:13 +0300 |
commit | c69621b8bdc47d8baa5aaca7a0b61253d7568772 (patch) | |
tree | 9b5db1ecb04d1ae915a60d410bdc8d48c81866f9 /pkgs/applications/version-management/gitea | |
parent | 2a294648ca23ee0f8b5d7692114fc9c99468eefa (diff) |
gitea: Add coreutils binaries to PATH
coreutils is used by hooks which are generated by gitea, e.g.: $ cat hooks/pre-receive #!/usr/bin/env bash # AUTO GENERATED BY GITEA, DO NOT MODIFY data=$(cat) exitcodes="" hookname=$(basename $0)
Diffstat (limited to 'pkgs/applications/version-management/gitea')
-rw-r--r-- | pkgs/applications/version-management/gitea/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix index 1d29534a976ed..17b839617ef82 100644 --- a/pkgs/applications/version-management/gitea/default.nix +++ b/pkgs/applications/version-management/gitea/default.nix @@ -5,6 +5,7 @@ , makeWrapper , git , bash +, coreutils , gitea , gzip , openssh @@ -62,7 +63,7 @@ buildGoModule rec { cp -R ./options/locale $out/locale wrapProgram $out/bin/gitea \ - --prefix PATH : ${lib.makeBinPath [ bash git gzip openssh ]} + --prefix PATH : ${lib.makeBinPath [ bash coreutils git gzip openssh ]} ''; passthru = { |