diffutils: coreutils is a run-time dep; specify pr's location
This commit is contained in:
parent
220e3817b8
commit
63428ebab9
@ -10,8 +10,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "info" ];
|
outputs = [ "out" "info" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ xz.bin ];
|
||||||
/* If no explicit coreutils is given, use the one from stdenv. */
|
/* 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 = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
|
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user