Skip to content

The lsp made me do it#1540

Merged
brianmcgillion merged 1 commit intotiiuae:mainfrom
brianmcgillion:cleaning-lsp
Nov 6, 2025
Merged

The lsp made me do it#1540
brianmcgillion merged 1 commit intotiiuae:mainfrom
brianmcgillion:cleaning-lsp

Conversation

@brianmcgillion
Copy link
Copy Markdown
Collaborator

nixd, through nixt and nixf highlights anti-patterns that should be addressed. Mainly with shadowing functions between the different namespaces, e.g. builtins and lib.

The general rule is that you should be explicit, if the function exists in both scopes and not rely on inherit, to set the correct set.

Description of Changes

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. ...

nixd, through nixt and nixf highlights anti-patterns that should be
addressed. Mainly with shadowing functions between the different
namespaces, e.g. builtins and lib.

The general rule is that you should be explicit, if the function exists
in both scopes and not rely on inherit, to set the correct set.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
@brianmcgillion brianmcgillion merged commit 466ce4e into tiiuae:main Nov 6, 2025
27 of 28 checks passed
@brianmcgillion brianmcgillion deleted the cleaning-lsp branch November 6, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants