From 0e258f5c3c144117ae5d32afb79a25d97f088adf Mon Sep 17 00:00:00 2001
From: Virgile Prevosto <virgile.prevosto@m4x.org>
Date: Fri, 30 Jul 2021 11:34:46 +0200
Subject: [PATCH] [ci] fix checkPhase script when building from tarball

---
 nix/default.nix | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nix/default.nix b/nix/default.nix
index 17772aa3109..01cfbcac8b0 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -174,7 +174,9 @@ pkgs.lib.makeExtensible
                 make -j 4
         '';
         checkPhase = ''
-                make tests
+               make clean_share_link
+               make create_share_link
+               make tests -j4 PTESTS_OPTS="-error-code -j 4"
         '';
         installPhase = ''
                true
-- 
GitLab