Skip to content

Commit

Permalink
screenfetch: fix wrapProgram usage
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Aug 9, 2017
1 parent 4495bfe commit 25c12d0
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions pkgs/tools/misc/screenfetch/default.nix
Expand Up @@ -21,17 +21,10 @@ stdenv.mkDerivation {
# Fix all of the depedencies of screenfetch
patchShebangs $out/bin/screenfetch
wrapProgram "$out/bin/screenfetch" \
--set PATH : "" \
--prefix PATH : "${coreutils}/bin" \
--prefix PATH : "${gawk}/bin" \
--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"
--set PATH ${stdenv.lib.makeBinPath [
coreutils gawk procps gnused findutils xdpyinfo
xprop gnugrep ncurses bc
]}
'';

meta = {
Expand Down

0 comments on commit 25c12d0

Please sign in to comment.