diffutils: coreutils is a run-time dep; specify pr's location
This commit is contained in:
parent
220e3817b8
commit
63428ebab9
1 changed files with 7 additions and 1 deletions
|
@ -10,8 +10,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
nativeBuildInputs = [ xz.bin ];
|
||||
/* If no explicit coreutils is given, use the one from stdenv. */
|
||||
nativeBuildInputs = [ xz.bin coreutils ];
|
||||
buildInputs = [ coreutils ];
|
||||
|
||||
configureFlags =
|
||||
# "pr" need not be on the PATH as a run-time dep, so we need to tell
|
||||
# configure where it is. Covers the cross and native case alike.
|
||||
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
|
||||
|
|
Loading…
Reference in a new issue