mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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:
parent
a3835930be
commit
0713f4eb03
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user