From 64b6dc41ba76fca1656374775f5fa57c4b6b39f1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 21 Feb 2025 17:05:17 +0900 Subject: nix: split integration test For adding tests for fpkg. Signed-off-by: Ophestra --- flake.nix | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 086e3814..e306bcf4 100644 --- a/flake.nix +++ b/flake.nix @@ -57,18 +57,16 @@ ; in { - check-formatting = - runCommandLocal "check-formatting" { nativeBuildInputs = [ nixfmt-rfc-style ]; } - '' - cd ${./.} + formatting = runCommandLocal "check-formatting" { nativeBuildInputs = [ nixfmt-rfc-style ]; } '' + cd ${./.} - echo "running nixfmt..." - nixfmt --check . + echo "running nixfmt..." + nixfmt --check . - touch $out - ''; + touch $out + ''; - check-lint = + lint = runCommandLocal "check-lint" { nativeBuildInputs = [ @@ -88,10 +86,7 @@ touch $out ''; - nixos-tests = callPackage ./test.nix { - inherit system self home-manager; - inherit (self.packages.${system}) fortify; - }; + fortify = callPackage ./tests/fortify { inherit system self; }; } ); -- cgit v1.3.1