mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-23 12:15:26 +02:00
perform some statix linting and fixes
This commit is contained in:
parent
eee375e97e
commit
efdcbe225f
57 changed files with 196 additions and 221 deletions
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
...
|
||||
}:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = name;
|
||||
inherit name;
|
||||
|
||||
nativeBuildInputs = [nvim pkgs.docker-client];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue