forked from mirrors/nixpkgs
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)
This commit is contained in:
parent
2a294648ca
commit
c69621b8bd
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue