csdr: fixup paths in .pc file

This commit is contained in:
Vladimír Čunát 2022-09-28 17:24:05 +02:00
parent 64c44b3798
commit 5179c42f14
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
libsamplerate
];
postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/csdr.pc \
--replace '=''${prefix}//' '=/' \
--replace '=''${exec_prefix}//' '=/'
'';
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://github.com/jketterl/csdr";