lol

moreutils: fix depends for strictDeps = true

Without the change `config.strictDepsByDefault = true` fails build as:

bash: line 1: pod2man: command not found

+15 -4
+15 -4
pkgs/tools/misc/moreutils/default.nix
··· 1 - { lib, stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perlPackages, makeWrapper, darwin }: 1 + { lib 2 + , stdenv 3 + , fetchgit 4 + , libxml2 5 + , libxslt 6 + , docbook-xsl 7 + , docbook_xml_dtd_44 8 + , perlPackages 9 + , makeWrapper 10 + , perl # for pod2man 11 + , darwin 12 + }: 2 13 3 14 with lib; 4 15 stdenv.mkDerivation rec { ··· 15 26 substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook 16 27 ''; 17 28 18 - nativeBuildInputs = [ makeWrapper ]; 19 - buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ] 20 - ++ optional stdenv.isDarwin darwin.cctools; 29 + strictDeps = true; 30 + nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]; 31 + buildInputs = optional stdenv.isDarwin darwin.cctools; 21 32 22 33 propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ]; 23 34