lxqt.lxqt-build-tools: fix paths in generated pkg-config files
This commit is contained in:
parent
ad67699dfb
commit
3481609210
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
|
, fetchpatch
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -22,6 +23,15 @@ mkDerivation rec {
|
||||||
sha256 = "vzppKTDwADBG5pOaluT858cWCKFFRaSbHz2Qhe6799E=";
|
sha256 = "vzppKTDwADBG5pOaluT858cWCKFFRaSbHz2Qhe6799E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# in master post 0.11.0, see https://github.com/lxqt/lxqt-build-tools/pull/76
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-pkg-config.patch";
|
||||||
|
url = "https://github.com/lxqt/lxqt-build-tools/pull/76/commits/fa9672b671ede3f46b004f81580f9afb50fedf00.patch";
|
||||||
|
sha256 = "0dl7n1afcc6ky9vd9lpc65p9grpszpql7lfjq2vlzlilixnv8xv1";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Nix clang on darwin identifies as 'Clang', not 'AppleClang'
|
# Nix clang on darwin identifies as 'Clang', not 'AppleClang'
|
||||||
# Without this, dependants fail to link.
|
# Without this, dependants fail to link.
|
||||||
|
|
Loading…
Reference in a new issue