aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-23 18:48:01 +0900
committerOphestra <cat@gensokyo.uk>2025-02-23 18:48:01 +0900
commitb6af8caffec91db14dfe3c1e095fd1fc84ecfd9e (patch)
tree94b55fda497cfd43e258047933cb5e8869bd0d0d /flake.nix
parente1a3549ea0ed7bfaed77f59e04bab70d7049750e (diff)
nix: clean up directory structure
Tests for fpkg is going to be in ./cmd/fpkg, so this central tests directory is no longer necessary. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index ac37474d..fcef274a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,6 +57,12 @@
;
in
{
+ fortify = callPackage ./test { inherit system self; };
+ race = callPackage ./test {
+ inherit system self;
+ withRace = true;
+ };
+
formatting = runCommandLocal "check-formatting" { nativeBuildInputs = [ nixfmt-rfc-style ]; } ''
cd ${./.}
@@ -85,12 +91,6 @@
touch $out
'';
-
- fortify = callPackage ./tests/fortify { inherit system self; };
- race = callPackage ./tests/fortify {
- inherit system self;
- withRace = true;
- };
}
);