From 8242b5e52ba0db0cb01392ee8add5564ec83f6dc Mon Sep 17 00:00:00 2001 From: Andrei Malashkin Date: Tue, 3 Sep 2024 12:30:08 +0200 Subject: [PATCH] implement crypto3 checks --- flake.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4bdabf798f..c775a92dcf 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,19 @@ default = crypto3; #TODO }; - #overlays.default = final: prev: packages; + checks = rec { + crypto3-gcc = (pkgs.callPackage ./crypto3/crypto3.nix { + runTests = true; + }); + crypto3-clang = (pkgs.callPackage ./crypto3/crypto3.nix { + stdenv = pkgs.llvmPackages_18.stdenv; + runTests = true; + }); + all = pkgs.symlinkJoin { + name = "all"; + paths = [ crypto3-gcc crypto3-clang]; + }; + default = all; + }; })); }