diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 18b90e1cbbc4..d16fd1967357 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7653,8 +7653,8 @@ let inherit fetchurl stdenv perl gettext makeWrapper lib; inherit (perlPackages) TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder LocaleGettext; - inherit git; # The RCS should be optional - monotone = null; + git = if getPkgConfig "ikiwiki" "git" true then git else null; + monotone = if getPkgConfig "ikiwiki" "monotone" false then monotone else null; extraUtils = []; };