summary refs log tree commit diff
path: root/pkgs/applications/misc/avrdudess
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-06-07 21:15:18 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-06-07 21:15:18 +0300
commit48f26ba8dd6c097f135d485291399bca6351d121 (patch)
treec26d0a27b1a83f672c8320249051cb57cafc3505 /pkgs/applications/misc/avrdudess
parent367ddbdcd59dc09ce6a2ea3d0c46c07c92b4fa1d (diff)
downloadnixlib-48f26ba8dd6c097f135d485291399bca6351d121.tar
nixlib-48f26ba8dd6c097f135d485291399bca6351d121.tar.gz
nixlib-48f26ba8dd6c097f135d485291399bca6351d121.tar.bz2
nixlib-48f26ba8dd6c097f135d485291399bca6351d121.tar.lz
nixlib-48f26ba8dd6c097f135d485291399bca6351d121.tar.xz
nixlib-48f26ba8dd6c097f135d485291399bca6351d121.tar.zst
nixlib-48f26ba8dd6c097f135d485291399bca6351d121.zip
avrdudess: Use makeLibraryPath
This affected the hash, presumably it now references correct output of
gtk.
Diffstat (limited to 'pkgs/applications/misc/avrdudess')
-rw-r--r--pkgs/applications/misc/avrdudess/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/avrdudess/default.nix b/pkgs/applications/misc/avrdudess/default.nix
index 64bca952ff58..1ac74712ff0f 100644
--- a/pkgs/applications/misc/avrdudess/default.nix
+++ b/pkgs/applications/misc/avrdudess/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
 
     cat >> "$out/bin/avrdudess" << __EOF__
     #!${stdenv.shell}
-    export LD_LIBRARY_PATH="${gtk}/lib:${mono}/lib"
+    export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk mono]}"
     # We need PATH from user env for xdg-open to find its tools, which
     # typically depend on the currently running desktop environment.
     export PATH="${avrgcclibc}/bin:${avrdude}/bin:${xdg_utils}/bin:\$PATH"