From 0713f4eb031597cc59fc98a8674904c84913f196 Mon Sep 17 00:00:00 2001 From: Georges Dubus Date: Tue, 20 Aug 2024 17:55:15 +0200 Subject: [PATCH] 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. --- pkgs/servers/nosql/apache-jena/fuseki-binary.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/nosql/apache-jena/fuseki-binary.nix b/pkgs/servers/nosql/apache-jena/fuseki-binary.nix index 65a5b720d468..ade900bacb60 100644 --- a/pkgs/servers/nosql/apache-jena/fuseki-binary.nix +++ b/pkgs/servers/nosql/apache-jena/fuseki-binary.nix @@ -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" \