valhalla: fixup paths in .pc file

This commit is contained in:
Vladimír Čunát 2022-09-28 18:44:38 +02:00
parent dbe80452b1
commit 5b8ead57a3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
"-DENABLE_BENCHMARKS=OFF"
];
postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/libvalhalla.pc \
--replace '=''${prefix}//' '=/' \
--replace '=''${exec_prefix}//' '=/'
'';
meta = with lib; {
description = "Open Source Routing Engine for OpenStreetMap";
homepage = "https://valhalla.readthedocs.io/";