-
Notifications
You must be signed in to change notification settings - Fork 201
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
Minor issues/suggestions on flake.nix
and .gitignore
#2453
Comments
Is nixpkgs-fmt available on non-Nix platforms? |
You can install by cargo. |
archived by now, nixfmt is the new replacement. (there's alejandra as well.)
I'd heavily advise against this, the same thing can be done using a few lines of simple nix code. flake-utils just adds an extra abstraction layer. Furthermore, |
A minor follow up to this: adding a formatter would make working in the flake a lot easier. Alejandra and nixfmt are both great choices, and flakes output a formatter.<system> option, which would make adding a formatter as easy as adding |
ARTIQ Feature Request
Problem this request addresses
Several minor issues/suggestions on
flake.nix
and.gitignore
result
produced bynix
to.gitignore
, and refactor.gitignore
.flake.nix
by nixpkgs-fmt, a formatter used by nixpkgs.openocd-bscanspi-f
and manually writing outpkgs-aarch64
andpkgs
flake8
,nixpkgs-fmt
, andrustfmt
before commit and withnix flake check
.Additional context
I locally tested
flake8
lint, it seems the python codebase has a lot of lint errors.The text was updated successfully, but these errors were encountered: