libsForQt5.extra-cmake-modules: fix for strictDeps (#376831)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
mkDerivation,
|
||||
lib,
|
||||
fetchpatch,
|
||||
bash,
|
||||
cmake,
|
||||
pkg-config,
|
||||
}:
|
||||
@@ -19,11 +20,22 @@ mkDerivation {
|
||||
|
||||
outputs = [ "out" ]; # this package has no runtime components
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bash
|
||||
];
|
||||
|
||||
# note: these will be propagated into the same list extra-cmake-modules is in
|
||||
propagatedBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
ecmCMakeFlags() {
|
||||
appendToVar cmakeFlags "-DECM_DIR=@out@/share/ECM/cmake"
|
||||
}
|
||||
|
||||
preConfigureHooks+=(ecmCMakeFlags)
|
||||
|
||||
ecmEnvHook() {
|
||||
addToSearchPath XDG_DATA_DIRS "$1/share"
|
||||
addToSearchPath XDG_CONFIG_DIRS "$1/etc/xdg"
|
||||
|
||||
Reference in New Issue
Block a user