bash: make tests run, but dependency cycle

This commit is contained in:
Jan Malakhovski 2018-08-10 00:28:25 +00:00
parent 0b67d69c13
commit ef2f89b2b9

View file

@ -1,5 +1,5 @@
{ stdenv, buildPackages
, fetchurl, binutils ? null, bison, autoconf
, fetchurl, binutils ? null, bison, autoconf, utillinux
, buildPlatform, hostPlatform
# patch for cygwin requires readline support
@ -87,6 +87,9 @@ stdenv.mkDerivation rec {
"SHOBJ_LIBS=-lbash"
];
checkInputs = [ utillinux ];
doCheck = false; # dependency cycle, needs to be interactive
postInstall = ''
ln -s bash "$out/bin/sh"
rm -f $out/lib/bash/Makefile.inc