VanCoding / nix-prisma-utils

A nix library to make [prisma](https://www.prisma.io/) work in your nix shell
21 stars 5 forks source link

fix(typo): Add missing `;`. #1

Closed juangiordana closed 7 months ago

juangiordana commented 7 months ago

fix(typo): Add missing ;.

VanCoding commented 7 months ago

@juangiordana Cool, thanks! 😊

How did you format the nix code? Maybe that could be documented for future contributors... (and me 😂)

juangiordana commented 7 months ago

On the contrary, thank you! This is helping me a lot to keep up with the Prisma version we're using at work.

For formatting I'm using nixfmt-rfc-style which is about to be included as the default style for formatting nix files: https://github.com/serokell/nixfmt

I'm using it with neovim + none-ls, but it can be added easily to the flake output to format all the Nix files in the flake using nix fmt command. See here for an implementation using alejandra: https://github.com/Misterio77/nix-starter-configs/blob/main/standard/flake.nix

I can add it to the flake and send you a PR later if you want.

VanCoding commented 7 months ago

@juangiordana I'd be interested in that. I'm using VSCode, though. I'll have to look up if it can be integrated there :)