treewide: Use makeBinPath
This commit is contained in:
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
wrapProgram $out/sbin/btrbk \
|
||||
--set PERL5LIB $PERL5LIB \
|
||||
--prefix PATH ':' "${btrfs-progs}/bin:${bash}/bin/"
|
||||
--prefix PATH ':' "${stdenv.lib.makeBinPath [ btrfs-progs bash ]}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -16,7 +16,7 @@ in stdenv.mkDerivation {
|
||||
python setup.py install --prefix=$out
|
||||
wrapProgram $out/bin/duplicity \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pycrypto}):$(toPythonPath ${ecdsa}):$(toPythonPath ${paramiko}):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})" \
|
||||
--prefix PATH : "${gnupg}/bin:${ncftp}/bin"
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ gnupg ncftp ]}"
|
||||
wrapProgram $out/bin/rdiffdir \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pycrypto}):$(toPythonPath ${ecdsa}):$(toPythonPath ${paramiko}):$(toPythonPath ${boto}):$(toPythonPath ${lockfile})"
|
||||
'';
|
||||
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
for p in $out/bin/*
|
||||
do wrapProgram "$p" \
|
||||
--prefix PERL5LIB ":" "${perlPackages.DBFile}/lib/perl5/site_perl" \
|
||||
--prefix PATH ":" "${which}/bin:${bzip2.bin}/bin"
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ which bzip2 ]}"
|
||||
done
|
||||
|
||||
patchShebangs $out
|
||||
|
||||
Reference in New Issue
Block a user