3
0
Fork 0
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:
Dmitry Shachnev 2023-06-08 20:16:13 +03:00
parent 2a294648ca
commit c69621b8bd

View file

@ -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 = {