git: use finalAttrs for doInstallCheck config (#526006)

This commit is contained in:
Colin
2026-06-01 19:57:36 +00:00
committed by GitHub
+1 -1
View File
@@ -157,7 +157,7 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace contrib/credential/libsecret/Makefile \
--replace-fail 'pkg-config' "$PKG_CONFIG"
''
+ lib.optionalString doInstallCheck ''
+ lib.optionalString finalAttrs.doInstallCheck ''
# ensure we are using the correct shell when executing the test scripts
patchShebangs t/*.sh
''