libdng: enable strictDeps, fix cross compilation

pkg-config is needed to locate `scdoc`.
fixes `nix-build -A pkgsCross.aarch64-multiplatform.libdng`
This commit is contained in:
Colin
2026-03-27 20:21:44 +00:00
parent 46eb30a01a
commit d50b6f378a

View File

@@ -26,6 +26,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-2Kwz5K37I3HnnKePyY4nKYwnGHP09vr6IThiuKd3EfQ=";
};
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
@@ -39,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
];
doCheck = true;
strictDeps = true;
meta = {
changelog = "https://gitlab.com/megapixels-org/libdng/-/tags/${finalAttrs.src.tag}";