From a2a2ffbd50e825f40e089dda217860e2c146029d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 28 Sep 2022 17:40:10 +0200 Subject: [PATCH] dsdcc: fixup paths in .pc file --- pkgs/development/libraries/dsdcc/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/dsdcc/default.nix b/pkgs/development/libraries/dsdcc/default.nix index 5eb4c8dc4640..a992eac27cb0 100644 --- a/pkgs/development/libraries/dsdcc/default.nix +++ b/pkgs/development/libraries/dsdcc/default.nix @@ -20,6 +20,11 @@ stdenv.mkDerivation rec { "-DUSE_MBELIB=ON" ]; + postFixup = '' + substituteInPlace "$out"/lib/pkgconfig/libdsdcc.pc \ + --replace '=''${exec_prefix}//' '=/' + ''; + meta = with lib; { description = "Digital Speech Decoder (DSD) rewritten as a C++ library"; homepage = "https://github.com/f4exb/dsdcc";