mtpfs: drop explicit overrides for libmad and libid3tag

This commit is contained in:
Sergei Trofimovich 2023-04-17 21:36:04 +01:00
parent 0a4206a51b
commit db457e873a

View File

@ -7,13 +7,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fuse libmtp glib libid3tag libmad ];
# adding LIBS is a hack, duno why it does not find libid3tag.so by adding buildInputs
preConfigure = ''
export MAD_CFLAGS=${libmad}/include
export MAD_LIBS=${libmad}/lib/libmad.so
export LIBS=${libid3tag}/lib/libid3tag.so
'';
src = fetchurl {
url = "https://www.adebenham.com/files/mtp/mtpfs-${version}.tar.gz";
sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv";