diff --git a/pkgs/by-name/gi/git/package.nix b/pkgs/by-name/gi/git/package.nix index fa7bcc7cd054..072fe282a3e3 100644 --- a/pkgs/by-name/gi/git/package.nix +++ b/pkgs/by-name/gi/git/package.nix @@ -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 ''