mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
screenfetch: fix wrapProgram usage
This commit is contained in:
parent
4495bfe138
commit
25c12d0abf
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user