mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
moreutils: fix depends for strictDeps = true
Without the change `config.strictDepsByDefault = true` fails build as: bash: line 1: pod2man: command not found
This commit is contained in:
parent
0105d57371
commit
58a59bc5fa
1 changed files with 15 additions and 4 deletions
|
@ -1,4 +1,15 @@
|
|||
{ lib, stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perlPackages, makeWrapper, darwin }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, libxml2
|
||||
, libxslt
|
||||
, docbook-xsl
|
||||
, docbook_xml_dtd_44
|
||||
, perlPackages
|
||||
, makeWrapper
|
||||
, perl # for pod2man
|
||||
, darwin
|
||||
}:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -15,9 +26,9 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]
|
||||
++ optional stdenv.isDarwin darwin.cctools;
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ];
|
||||
buildInputs = optional stdenv.isDarwin darwin.cctools;
|
||||
|
||||
propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue