avrdudess: Use makeLibraryPath

This affected the hash, presumably it now references correct output of
gtk.
This commit is contained in:
Tuomas Tynkkynen 2016-06-07 21:15:18 +03:00
parent 367ddbdcd5
commit 48f26ba8dd

View File

@ -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"