signald: Add xargs and sed dependencies to wrapper

This commit is contained in:
Walter Huf 2023-12-18 12:50:38 -08:00
parent b571c88ad3
commit ea960719b4

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, fetchFromGitLab, jdk17_headless, coreutils, gradle, git, perl
, makeWrapper, fetchpatch, substituteAll, jre_minimal
{ lib, stdenv, fetchurl, fetchFromGitLab, jdk17_headless, coreutils, findutils, gnused,
gradle, git, perl, makeWrapper, fetchpatch, substituteAll, jre_minimal
}:
# NOTE: when updating the package, please check if some of the hacks in `deps.installPhase`
@ -112,7 +112,7 @@ in stdenv.mkDerivation {
mkdir -p $out
tar xvf ./build/distributions/signald.tar --strip-components=1 --directory $out/
wrapProgram $out/bin/signald \
--prefix PATH : ${lib.makeBinPath [ coreutils ]} \
--prefix PATH : ${lib.makeBinPath [ coreutils findutils gnused ]} \
--set JAVA_HOME "${jre'}"
runHook postInstall