diff options
author | Daniel Fullmer <danielrf12@gmail.com> | 2020-03-16 15:43:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 19:43:35 +0000 |
commit | d467d6ce4a608ae881aa5f35cd41a6af8e9d5188 (patch) | |
tree | 43407558e7a6e8995ae4ad225bf8cd8d2de2dad5 /pkgs/tools/networking/zerotierone | |
parent | 70519e57af9124160e61ad9ece4498deefaa9be9 (diff) | |
download | nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.tar nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.tar.gz nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.tar.bz2 nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.tar.lz nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.tar.xz nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.tar.zst nixpkgs-d467d6ce4a608ae881aa5f35cd41a6af8e9d5188.zip |
zerotierone: enable package test (#82738)
Diffstat (limited to 'pkgs/tools/networking/zerotierone')
-rw-r--r-- | pkgs/tools/networking/zerotierone/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/networking/zerotierone/default.nix b/pkgs/tools/networking/zerotierone/default.nix index c060e6a61a4..2a3987f490f 100644 --- a/pkgs/tools/networking/zerotierone/default.nix +++ b/pkgs/tools/networking/zerotierone/default.nix @@ -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 |