Unverified Commit c283f32d authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

treewide: remove unused with

Auto-fixed by nixf-diagnose.
parent 90e7159c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@ let
            # https://github.com/nix-community/nixd/blob/main/libnixf/src/Basic/diagnostic.py
            # TODO: Remove the following and fix things.
            "--ignore=parse-redundant-paren"
            "--ignore=sema-extra-with"
            "--ignore=sema-unused-def-lambda-noarg-formal"
            "--ignore=sema-unused-def-lambda-witharg-arg"
            "--ignore=sema-unused-def-lambda-witharg-formal"
@@ -106,6 +105,10 @@ let
            "--ignore=or-identifier"
          ];
          excludes = [
            # Auto-generated; violates sema-extra-with
            # Can only sensibly be removed when --auto-fix supports multiple fixes at once:
            # https://github.com/inclyc/nixf-diagnose/issues/13
            "pkgs/servers/home-assistant/component-packages.nix"
            # https://github.com/nix-community/nixd/issues/708
            "nixos/maintainers/scripts/azure-new/examples/basic/system.nix"
          ];
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
}:
{

  options = with lib; {
  options = {
    environment.enableAllTerminfo = lib.mkOption {
      default = false;
      type = lib.types.bool;
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ in
  };

  meta = {
    maintainers = with lib.maintainers; [ ];
    maintainers = [ ];
    doc = ./default.md;
  };

+0 −2
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@

{ lib, ... }:

with lib;

{
  imports = [
    ./netboot.nix
+0 −2
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@

{ lib, ... }:

with lib;

{
  # Don't start a tty on the serial consoles.
  systemd.services."serial-getty@ttyS0".enable = lib.mkDefault false;
Loading