From 25c12d0abf7209f3b7f8a1d102d2426127ca32f2 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 9 Aug 2017 17:34:28 +0200 Subject: [PATCH] screenfetch: fix wrapProgram usage --- pkgs/tools/misc/screenfetch/default.nix | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/misc/screenfetch/default.nix b/pkgs/tools/misc/screenfetch/default.nix index c138261f9a33..a781ff910270 100644 --- a/pkgs/tools/misc/screenfetch/default.nix +++ b/pkgs/tools/misc/screenfetch/default.nix @@ -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 = {