diff options
author | OPNA2608 <christoph.neidahl@gmail.com> | 2023-04-23 11:55:46 +0200 |
---|---|---|
committer | OPNA2608 <christoph.neidahl@gmail.com> | 2023-04-23 11:55:46 +0200 |
commit | e2ef5b81fb470eded7c53c2863b8dbbb4172c40c (patch) | |
tree | e811fef29246681dd7de06ae8b6c4fc93b86694d /pkgs/development/libraries/egl-wayland | |
parent | da2aa5a0db476cdf76acdf101f48173821138264 (diff) |
egl-wayland: Remove includedir from pkg-config file
Diffstat (limited to 'pkgs/development/libraries/egl-wayland')
-rw-r--r-- | pkgs/development/libraries/egl-wayland/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/egl-wayland/default.nix b/pkgs/development/libraries/egl-wayland/default.nix index fbef69f3cda1d..d3ff8a8af0fd1 100644 --- a/pkgs/development/libraries/egl-wayland/default.nix +++ b/pkgs/development/libraries/egl-wayland/default.nix @@ -36,6 +36,12 @@ stdenv.mkDerivation rec { }) ]; + postPatch = '' + # Declares an includedir but doesn't install any headers + # CMake's `pkg_check_modules(NAME wayland-eglstream IMPORTED_TARGET)` considers this an error + sed -i -e '/includedir/d' wayland-eglstream.pc.in + ''; + depsBuildBuild = [ pkg-config ]; @@ -59,12 +65,6 @@ stdenv.mkDerivation rec { eglexternalplatform ]; - postFixup = '' - # Doubled prefix in pc file after postbuild hook replaces includedir prefix variable with dev output path - substituteInPlace $dev/lib/pkgconfig/wayland-eglstream.pc \ - --replace "=$dev/$dev" "=$dev" - ''; - meta = with lib; { description = "The EGLStream-based Wayland external platform"; homepage = "https://github.com/NVIDIA/egl-wayland/"; |