atftp: enable tests
(cherry picked from commit 70da17646624c7d24daacc644c3c870a938b2f94)
This commit is contained in:
parent
d62d02793c
commit
2bfe1df1f9
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc }:
|
||||
{ lib, stdenv, fetchurl, readline, tcp_wrappers, pcre, makeWrapper, gcc, ps }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atftp";
|
||||
@ -9,13 +9,19 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "12h3sgkd25j4nfagil2jqyj1n8yxvaawj0cf01742642n57pmj4k";
|
||||
};
|
||||
|
||||
# fix test script
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ readline tcp_wrappers pcre gcc ];
|
||||
|
||||
# Expects pre-GCC5 inline semantics
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
||||
|
||||
doCheck = false; # fails
|
||||
doCheck = true;
|
||||
checkInputs = [ ps ];
|
||||
|
||||
meta = {
|
||||
description = "Advanced tftp tools";
|
||||
|
Loading…
x
Reference in New Issue
Block a user