zerotierone: enable package test (#82738)
This commit is contained in:
parent
70519e57af
commit
d467d6ce4a
1 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildFlags = [ "all" "selftest" ];
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
checkPhase = ''
|
||||
./zerotier-selftest
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dt "$out/bin/" zerotier-one
|
||||
ln -s $out/bin/zerotier-one $out/bin/zerotier-idtool
|
||||
|
|
Loading…
Reference in a new issue