From d5752079053091e65b99eb52fbb747050bbb08e8 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 2 Jun 2023 00:41:29 +0200 Subject: Flake: Add nixtest --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 6e1cb82..f77b46e 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,8 @@ nur.url = "github:nix-community/NUR"; + nixtest.url = "github:jetpack-io/nixtest"; + nix-index.url = "github:Mic92/nix-index-database"; hosts = { @@ -117,5 +119,8 @@ # This is highly advised, and will prevent many possible mistakes checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) inputs.deploy-rs.lib; + + + tests = inputs.nixtest.run ./.; }; } -- cgit 1.4.1