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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "atftp";
|
pname = "atftp";
|
||||||
@ -9,13 +9,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "12h3sgkd25j4nfagil2jqyj1n8yxvaawj0cf01742642n57pmj4k";
|
sha256 = "12h3sgkd25j4nfagil2jqyj1n8yxvaawj0cf01742642n57pmj4k";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# fix test script
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ readline tcp_wrappers pcre gcc ];
|
buildInputs = [ readline tcp_wrappers pcre gcc ];
|
||||||
|
|
||||||
# Expects pre-GCC5 inline semantics
|
# Expects pre-GCC5 inline semantics
|
||||||
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
||||||
|
|
||||||
doCheck = false; # fails
|
doCheck = true;
|
||||||
|
checkInputs = [ ps ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Advanced tftp tools";
|
description = "Advanced tftp tools";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user