Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't expand final list arguments of functions #254

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

infinisil
Copy link
Member

Applies #233 to last arguments too

Best review commit by commit


This work is sponsored by Antithesis

Copy link

github-actions bot commented Sep 17, 2024

Nixpkgs diff

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-09-17/52300/1

@piegamesde
Copy link
Member

piegamesde commented Sep 18, 2024

This produces a couple of weird outputs, like

    (mkRenamedOptionModule [
      "services"
      "xserver"
      "displayManager"
      "sddm"
      "enable"
    ] [ "services" "displayManager" "sddm" "enable" ])

Not sure how to easily solve that though

Edit: okay so it turns out the solution is to stop caring about mkRenamedOptionModule and replace it with an alternative API which doesn't require these weird attrpath lists in the first place.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-10-01/53763/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants