From ef2f89b2b92b501899f219d235f689f7a11c1f20 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Fri, 10 Aug 2018 00:28:25 +0000 Subject: [PATCH] bash: make tests run, but dependency cycle --- pkgs/shells/bash/4.4.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/bash/4.4.nix b/pkgs/shells/bash/4.4.nix index ab89dc28828b..de8efd5af270 100644 --- a/pkgs/shells/bash/4.4.nix +++ b/pkgs/shells/bash/4.4.nix @@ -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