diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-21 17:05:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-21 17:05:17 +0900 |
| commit | 64b6dc41ba76fca1656374775f5fa57c4b6b39f1 (patch) | |
| tree | a3cd0f87dee49ee52afd92b20e053a2baaf2eabe /flake.nix | |
| parent | c64b8163e79d47f1e710c1d067589bb393f8463c (diff) | |
nix: split integration test
For adding tests for fpkg.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -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; }; } ); |
