summaryrefslogtreecommitdiff
path: root/checks.nix
diff options
context:
space:
mode:
Diffstat (limited to 'checks.nix')
-rw-r--r--checks.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/checks.nix b/checks.nix
index 87e389f..bf680f1 100644
--- a/checks.nix
+++ b/checks.nix
@@ -16,7 +16,9 @@ in {
'';
check-selene = pkgs.runCommand "check-selene" {} ''
- ${lib.getExe pkgs.selene} ${./.}
+ cd ${./.}
+ ${lib.getExe pkgs.selene} .
+ touch $out
'';
check-statix = pkgs.runCommand "check-statix" {} ''
@@ -26,7 +28,6 @@ in {
check-stylua = pkgs.runCommand "check-stylua" {} ''
${lib.getExe pkgs.stylua} --check ${./.}
-
touch $out
'';
}