extra-cmake-modules: fix paths in generated pkg-config files

This commit is contained in:
Alexander Shpilkin 2022-05-09 17:21:51 +03:00 committed by Artturin
parent 5dedecfd4c
commit a693b0cda6

@ -1,10 +1,15 @@
{ mkDerivation, lib, cmake, pkg-config }:
{ mkDerivation, lib, fetchpatch, cmake, pkg-config }:
mkDerivation {
pname = "extra-cmake-modules";
patches = [
./nix-lib-path.patch
# https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/268
(fetchpatch {
url = "https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/5862a6f5b5cd7ed5a7ce2af01e44747c36318220.patch";
sha256 = "10y36fc3hnpmcsmjgfxn1rp4chj5yrhgghj7m8gbmcai1q5jr0xj";
})
];
outputs = [ "out" ]; # this package has no runtime components