ncmpc: remove unneeded rpath wrapping
This commit is contained in:
parent
2240e8055a
commit
d6b8f18497
|
@ -1,11 +1,7 @@
|
|||
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
|
||||
, mpd_clientlib, gettext }:
|
||||
|
||||
let
|
||||
rpath = stdenv.lib.makeLibraryPath [
|
||||
glib ncurses mpd_clientlib
|
||||
];
|
||||
in stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ncmpc-${version}";
|
||||
version = "0.28";
|
||||
|
||||
|
@ -19,12 +15,6 @@ in stdenv.mkDerivation rec {
|
|||
buildInputs = [ glib ncurses mpd_clientlib ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
||||
|
||||
postFixup = ''
|
||||
for elf in "$out"/bin/*; do
|
||||
patchelf --set-rpath '${rpath}':"$out/lib" "$elf"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Curses-based interface for MPD (music player daemon)";
|
||||
homepage = http://www.musicpd.org/clients/ncmpc/;
|
||||
|
|
Loading…
Reference in a new issue