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