mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
zerotierone: enable package test (#82738)
This commit is contained in:
parent
70519e57af
commit
d467d6ce4a
@ -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 New Issue
Block a user