screenfetch: fix wrapProgram usage

This commit is contained in:
Robin Gloster 2017-08-09 17:34:28 +02:00
parent 4495bfe138
commit 25c12d0abf
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -21,17 +21,10 @@ stdenv.mkDerivation {
# Fix all of the depedencies of screenfetch # Fix all of the depedencies of screenfetch
patchShebangs $out/bin/screenfetch patchShebangs $out/bin/screenfetch
wrapProgram "$out/bin/screenfetch" \ wrapProgram "$out/bin/screenfetch" \
--set PATH : "" \ --set PATH ${stdenv.lib.makeBinPath [
--prefix PATH : "${coreutils}/bin" \ coreutils gawk procps gnused findutils xdpyinfo
--prefix PATH : "${gawk}/bin" \ xprop gnugrep ncurses bc
--prefix PATH : "${procps}/bin" \ ]}
--prefix PATH : "${gnused}/bin" \
--prefix PATH : "${findutils}/bin" \
--prefix PATH : "${xdpyinfo}/bin" \
--prefix PATH : "${xprop}/bin" \
--prefix PATH : "${gnugrep}/bin" \
--prefix PATH : "${ncurses}/bin" \
--prefix PATH : "${bc}/bin"
''; '';
meta = { meta = {