valhalla: fixup paths in .pc file

main
Vladimír Čunát 2 years ago
parent dbe80452b1
commit 5b8ead57a3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 6
      pkgs/development/libraries/valhalla/default.nix

@ -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/";

Loading…
Cancel
Save