shaderc: fixup paths in .pc files
This commit is contained in:
parent
e7ff7d6403
commit
038edcf9a5
@ -50,6 +50,13 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
|
||||
|
||||
# Fix the paths in .pc, even though it's unclear if all these .pc are really useful.
|
||||
postFixup = ''
|
||||
substituteInPlace "$dev"/lib/pkgconfig/*.pc \
|
||||
--replace '=''${prefix}//' '=/' \
|
||||
--replace "$dev/$dev/" "$dev/"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A collection of tools, libraries and tests for shader compilation";
|
||||
|
Loading…
Reference in New Issue
Block a user