Merge pull request #275272 from hufman/patch-signald-deps

signald: Add xargs and sed dependencies to wrapper
This commit is contained in:
Jörg Thalheim
2023-12-19 05:39:19 +01:00
committed by GitHub
@@ -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`
@@ -114,7 +114,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