diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-23 02:13:46 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-23 02:56:12 +0300 |
commit | f064bfe8032208663e0173e2429500a652e1f750 (patch) | |
tree | 52362fd5803e934e97c77ae36b08e553b715a65e /pkgs/applications/backup/areca | |
parent | cf592a896930c9b788c613acce849c77ae95592b (diff) |
treewide: Use more makeLibraryPath
Diffstat (limited to 'pkgs/applications/backup/areca')
-rw-r--r-- | pkgs/applications/backup/areca/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/backup/areca/default.nix b/pkgs/applications/backup/areca/default.nix index 90d38712317b3..7a7f6f2ac496d 100644 --- a/pkgs/applications/backup/areca/default.nix +++ b/pkgs/applications/backup/areca/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { substituteInPlace bin/areca_run.sh --replace "/usr/lib/java/swt.jar" "${swt}/jars/swt.jar" sed -i "s#^PROGRAM_DIR.*#PROGRAM_DIR=$out#g" bin/areca_run.sh - sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=${swt}/lib:$out/lib:${acl}/lib#g" bin/areca_run.sh + sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=$out/lib:${stdenv.lib.makeLibraryPath [ swt acl ]}#g" bin/areca_run.sh # https://sourceforge.net/p/areca/bugs/563/ substituteInPlace bin/areca_run.sh --replace '[ "$JAVA_IMPL" = "java" ]' \ |