apache-jena-fuseki: fix provided scripts

Fuseki provides a suite of utility scripts that don't need to be wrapped,
but that are broken by the wrapping because they look at their own name.

By only wrapping the actual fuseki binaries, we fix the issue.
This commit is contained in:
Georges Dubus 2024-08-20 17:55:15 +02:00
parent a3835930be
commit 0713f4eb03

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
cp -r . "$out"
chmod +x $out/fuseki
ln -s "$out"/{fuseki-backup,fuseki-server,fuseki} "$out/bin"
for i in "$out"/bin/*; do
for i in "$out"/bin/fuseki*; do
# It is necessary to set the default $FUSEKI_BASE directory to a writable location
# By default it points to $FUSEKI_HOME/run which is in the nix store
wrapProgram "$i" \