forked from mirrors/nixpkgs
dvd-slideshow: use PATH
This commit is contained in:
parent
456aa48d38
commit
46ae49fbff
|
@ -1,10 +1,12 @@
|
|||
{ stdenv, fetchurl, writeScript, cdrtools, dvdauthor, ffmpeg, imagemagick, lame, mjpegtools, sox, transcode, vorbis-tools }:
|
||||
{ stdenv, lib, fetchurl, writeScript, cdrtools, dvdauthor, ffmpeg, imagemagick, lame, mjpegtools, sox, transcode, vorbis-tools }:
|
||||
|
||||
let
|
||||
binPath = lib.makeBinPath [ cdrtools dvdauthor ffmpeg imagemagick lame mjpegtools sox transcode vorbis-tools ];
|
||||
|
||||
wrapper = writeScript "dvd-slideshow.sh" ''
|
||||
#!/bin/bash
|
||||
# wrapper script for dvd-slideshow programs
|
||||
export PATH=${cdrtools}/bin:${dvdauthor}/bin:${ffmpeg.bin}/bin:${imagemagick}/bin:${lame}/bin:${mjpegtools}/bin:${sox}/bin:${transcode}/bin:${vorbis-tools}/bin:$PATH
|
||||
export PATH=${binPath}:$PATH
|
||||
|
||||
dir=`dirname "$0"`
|
||||
exe=`basename "$0"`
|
||||
|
|
Loading…
Reference in a new issue