perform some statix linting and fixes

This commit is contained in:
Tanish2002 2023-05-22 15:45:47 +05:30 committed by Gaétan Lepage
parent eee375e97e
commit efdcbe225f
57 changed files with 196 additions and 221 deletions

View file

@ -5,7 +5,7 @@
}: let
fetchTests = import ./fetch-tests.nix;
test-derivation = import ./test-derivation.nix {inherit pkgs makeNixvim;};
mkTestDerivation = test-derivation.mkTestDerivation;
inherit (test-derivation) mkTestDerivation;
# List of files containing configurations
testFiles = fetchTests {

View file

@ -61,7 +61,7 @@
cases;
# Helper function that calls `//` for each attrset of a list
concatMany = list: lib.lists.foldr lib.mergeAttrs {} list;
concatMany = lib.lists.foldr lib.mergeAttrs {};
# An attrset of 'test-name' -> 'test-config'
in
concatMany (builtins.map handleTestFile testsListEvaluated)

View file

@ -11,7 +11,7 @@
...
}:
pkgs.stdenv.mkDerivation {
name = name;
inherit name;
nativeBuildInputs = [nvim pkgs.docker-client];