3
0
Fork 0
forked from mirrors/nixpkgs

dejagnu: 1.6.2 -> 1.6.3 (#141206)

* dejagnu: 1.6.2 -> 1.6.3

Move to out-of-tree build to avoid testsuite failure.
This commit is contained in:
Sergei Trofimovich 2021-10-11 08:08:52 +00:00 committed by GitHub
parent fa06e34c5e
commit d23b22e4f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,24 @@
stdenv.mkDerivation rec {
pname = "dejagnu";
version = "1.6.2";
version = "1.6.3";
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
sha256 = "0qfj2wd4qk1yn9yzam6g8nmyxfazcc0knjyyibycb2ainkhp21hd";
sha256 = "1qx2cv6qkxbiqg87jh217jb62hk3s7dmcs4cz1llm2wmsynfznl7";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ expect ];
# dejagnu-1.6.3 can't successfully run tests in source tree:
# https://wiki.linuxfromscratch.org/lfs/ticket/4871
preConfigure = ''
mkdir build
cd build
'';
configureScript = "../configure";
doCheck = true;
# Note: The test-suite *requires* /dev/pts among the `build-chroot-dirs' of