pkgs/applications: stdenv.lib -> lib
This commit is contained in:
@@ -20,10 +20,10 @@ stdenv.mkDerivation {
|
||||
|
||||
cat >> "$out/bin/avrdudess" << __EOF__
|
||||
#!${runtimeShell}
|
||||
export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk2 mono]}"
|
||||
export LD_LIBRARY_PATH="${lib.makeLibraryPath [gtk2 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="${stdenv.lib.makeBinPath [ avrdude xdg_utils ]}:\$PATH"
|
||||
export PATH="${lib.makeBinPath [ avrdude xdg_utils ]}:\$PATH"
|
||||
|
||||
# avrdudess must have its resource files in its current working directory
|
||||
cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
|
||||
|
||||
Reference in New Issue
Block a user