clerk: fix wrapProgram call

This commit is contained in:
Robin Gloster 2017-08-10 15:49:56 +02:00
parent c438fe5a16
commit c3e8d491ff
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -13,13 +13,11 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper pythonPackages.mpd2 ];
buildPhase = ''
echo skipping build phase...
'';
dontBuild = true;
installPhase = ''
DESTDIR=$out PREFIX=/ make install
wrapProgram $out/bin/clerk $out/bin/clerk \
wrapProgram $out/bin/clerk \
--prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl utillinux libnotify ]}"
'';