diff --git a/pkgs/development/libraries/lib3mf/default.nix b/pkgs/development/libraries/lib3mf/default.nix index 7292debfc3f6..7e41743e1e0d 100644 --- a/pkgs/development/libraries/lib3mf/default.nix +++ b/pkgs/development/libraries/lib3mf/default.nix @@ -18,6 +18,9 @@ stdenv.mkDerivation rec { postPatch = '' rmdir UnitTests/googletest ln -s ${gtest.src} UnitTests/googletest + + # fix libdir=''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ + sed -i 's,=''${\(exec_\)\?prefix}/,=,' lib3MF.pc.in ''; meta = with stdenv.lib; {