Skip to content

Commit

Permalink
Merge pull request #2 from Janik-Haag/develop
Browse files Browse the repository at this point in the history
make statix happy?
  • Loading branch information
Janik-Haag authored Feb 15, 2024
2 parents c8fd210 + 31a3be0 commit 5ab2ddf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:
# - name: "Run unit-tests"
# run: nix run github:nix-community/nix-unit -- --flake .#tests

# statix currently crashes on ./modules for some unknown to me reason
# - name: "Do linting"
# run: nix run nixpkgs#statix -- check .
- name: "Do linting"
run: nix run nixpkgs#statix -- check .

- name: "Check formatting"
run: nix fmt -- --check .
3 changes: 2 additions & 1 deletion modules/devices.nix
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

{ utils, lib }:
{ }
3 changes: 2 additions & 1 deletion modules/domains.nix
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

{ utils, lib }:
{ }
3 changes: 2 additions & 1 deletion modules/ip-addresses.nix
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

{ utils, lib }:
{ }
2 changes: 1 addition & 1 deletion utils/networking.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
in
lib.throwIf (from > to) "the second input has to be larger then the first one, otherwise you have a negative range which is impossible or not a range."
helper
{ list = [ ]; counter = (to - from); }
{ list = [ ]; counter = to - from; }
;
};
}

0 comments on commit 5ab2ddf

Please sign in to comment.