summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-05-17 15:39:47 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:49:32 +0300
commit91bbd9567bf01dd3d9901d8ae3e43b88f48723e2 (patch)
tree07d64818e0e7ac512a586b9c213fcf0ff3693b89
parent50cee473aeb5ffe959605fa5e492dcdf3675b42d (diff)
downloadnixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.tar
nixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.tar.gz
nixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.tar.bz2
nixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.tar.lz
nixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.tar.xz
nixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.tar.zst
nixpkgs-91bbd9567bf01dd3d9901d8ae3e43b88f48723e2.zip
libsurvive: fix path in pkg-config file
-rw-r--r--pkgs/development/libraries/libsurvive/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libsurvive/default.nix b/pkgs/development/libraries/libsurvive/default.nix
index 02c4ddffd78..429c4bb33d9 100644
--- a/pkgs/development/libraries/libsurvive/default.nix
+++ b/pkgs/development/libraries/libsurvive/default.nix
@@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
     eigen
   ];
 
+  # https://github.com/cntools/libsurvive/issues/272
+  postPatch = ''
+    substituteInPlace survive.pc.in \
+      --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
+  '';
+
   meta = with lib; {
     description = "Open Source Lighthouse Tracking System";
     homepage = "https://github.com/cntools/libsurvive";