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:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user