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
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
|
||||||
, mpd_clientlib, gettext }:
|
, mpd_clientlib, gettext }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
rpath = stdenv.lib.makeLibraryPath [
|
|
||||||
glib ncurses mpd_clientlib
|
|
||||||
];
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "ncmpc-${version}";
|
name = "ncmpc-${version}";
|
||||||
version = "0.28";
|
version = "0.28";
|
||||||
|
|
||||||
@ -19,12 +15,6 @@ in stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ glib ncurses mpd_clientlib ];
|
buildInputs = [ glib ncurses mpd_clientlib ];
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
for elf in "$out"/bin/*; do
|
|
||||||
patchelf --set-rpath '${rpath}':"$out/lib" "$elf"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Curses-based interface for MPD (music player daemon)";
|
description = "Curses-based interface for MPD (music player daemon)";
|
||||||
homepage = http://www.musicpd.org/clients/ncmpc/;
|
homepage = http://www.musicpd.org/clients/ncmpc/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user