From df448f0993173bfed26be41d246902fbd9219681 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 21 Apr 2019 17:24:49 +0200 Subject: [PATCH] lib3mf: fix pkg-config file --- pkgs/development/libraries/lib3mf/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/lib3mf/default.nix b/pkgs/development/libraries/lib3mf/default.nix index 7292debfc3f..7e41743e1e0 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; {