home.social

#nixfmt — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nixfmt, aggregated by home.social.

  1. nixfmt v1.0.0 released! 🥳

    This is the first stable release of the official Nix formatter. It implements RFC 166, which defines a standard for Nix formatting.

    Great work by the Nix Formatting Team, thanks to everyone involved!

    github.com/NixOS/nixfmt/releas

    #nix #nixfmt #nixos #nixpkgs

  2. nixfmt v1.0.0 released! 🥳

    This is the first stable release of the official Nix formatter. It implements RFC 166, which defines a standard for Nix formatting.

    Great work by the Nix Formatting Team, thanks to everyone involved!

    github.com/NixOS/nixfmt/releas

    #nix #nixfmt #nixos #nixpkgs

  3. nixfmt v1.0.0 released! 🥳

    This is the first stable release of the official Nix formatter. It implements RFC 166, which defines a standard for Nix formatting.

    Great work by the Nix Formatting Team, thanks to everyone involved!

    github.com/NixOS/nixfmt/releas

    #nix #nixfmt #nixos #nixpkgs

  4. nixfmt v1.0.0 released! 🥳

    This is the first stable release of the official Nix formatter. It implements RFC 166, which defines a standard for Nix formatting.

    Great work by the Nix Formatting Team, thanks to everyone involved!

    github.com/NixOS/nixfmt/releas

    #nix #nixfmt #nixos #nixpkgs

  5. nixfmt v1.0.0 released! 🥳

    This is the first stable release of the official Nix formatter. It implements RFC 166, which defines a standard for Nix formatting.

    Great work by the Nix Formatting Team, thanks to everyone involved!

    github.com/NixOS/nixfmt/releas

    #nix #nixfmt #nixos #nixpkgs

  6. @nebucatnetzer #Nixfmt just changed my 711-line module into a 817-line module. Readability was not enhanced.

  7. @nebucatnetzer #Nixfmt just changed my 711-line module into a 817-line module. Readability was not enhanced.

  8. @nebucatnetzer #Nixfmt just changed my 711-line module into a 817-line module. Readability was not enhanced.

  9. @nebucatnetzer #Nixfmt just changed my 711-line module into a 817-line module. Readability was not enhanced.

  10. @nebucatnetzer #Nixfmt just changed my 711-line module into a 817-line module. Readability was not enhanced.

  11. @nebucatnetzer Just ran into it again with `with types; attrsOf (nullOr (oneOf [ int str bool ]))` This is an easy-to-read #Nix one-line, #Nixfmt turned into 9 lines which now means I can’t see the whole module option in my editor anymore.

  12. @nebucatnetzer Just ran into it again with `with types; attrsOf (nullOr (oneOf [ int str bool ]))` This is an easy-to-read #Nix one-line, #Nixfmt turned into 9 lines which now means I can’t see the whole module option in my editor anymore.

  13. @nebucatnetzer Just ran into it again with `with types; attrsOf (nullOr (oneOf [ int str bool ]))` This is an easy-to-read #Nix one-line, #Nixfmt turned into 9 lines which now means I can’t see the whole module option in my editor anymore.

  14. @nebucatnetzer Just ran into it again with `with types; attrsOf (nullOr (oneOf [ int str bool ]))` This is an easy-to-read #Nix one-line, #Nixfmt turned into 9 lines which now means I can’t see the whole module option in my editor anymore.

  15. @nebucatnetzer Just ran into it again with `with types; attrsOf (nullOr (oneOf [ int str bool ]))` This is an easy-to-read #Nix one-line, #Nixfmt turned into 9 lines which now means I can’t see the whole module option in my editor anymore.

  16. Cleaned up my #nixos-config today and finally applied #nixfmt.

    Now I should really configure my #emacs to #nixfmt on save.

    I still sometimes touch Nix code that hasn't been formatted to the standard yet though and it should not attempt to apply #nixfmt in that case.

    How do I do that without needing to manually specify which projects/files to always apply #nixfmt on?

  17. Cleaned up my #nixos-config today and finally applied #nixfmt.

    Now I should really configure my #emacs to #nixfmt on save.

    I still sometimes touch Nix code that hasn't been formatted to the standard yet though and it should not attempt to apply #nixfmt in that case.

    How do I do that without needing to manually specify which projects/files to always apply #nixfmt on?

  18. Cleaned up my #nixos-config today and finally applied #nixfmt.

    Now I should really configure my #emacs to #nixfmt on save.

    I still sometimes touch Nix code that hasn't been formatted to the standard yet though and it should not attempt to apply #nixfmt in that case.

    How do I do that without needing to manually specify which projects/files to always apply #nixfmt on?

  19. Cleaned up my #nixos-config today and finally applied #nixfmt.

    Now I should really configure my #emacs to #nixfmt on save.

    I still sometimes touch Nix code that hasn't been formatted to the standard yet though and it should not attempt to apply #nixfmt in that case.

    How do I do that without needing to manually specify which projects/files to always apply #nixfmt on?

  20. Cleaned up my #nixos-config today and finally applied #nixfmt.

    Now I should really configure my #emacs to #nixfmt on save.

    I still sometimes touch Nix code that hasn't been formatted to the standard yet though and it should not attempt to apply #nixfmt in that case.

    How do I do that without needing to manually specify which projects/files to always apply #nixfmt on?

  21. #TIFU

    Wanted to try #nixfmt on my #nixos-config tree again, so I ran

    fd . -t file --extension nix -x nixfmt

    It was taking unusually long but it was loading my CPU alright.
    Huh, it really shouldn't be taking *this* long.

    Oh, I was in my home directory O.o

    Off to finding all the repos with Nix files in them I have on this machine to undo that...

  22. #TIFU

    Wanted to try #nixfmt on my #nixos-config tree again, so I ran

    fd . -t file --extension nix -x nixfmt

    It was taking unusually long but it was loading my CPU alright.
    Huh, it really shouldn't be taking *this* long.

    Oh, I was in my home directory O.o

    Off to finding all the repos with Nix files in them I have on this machine to undo that...

  23. #TIFU

    Wanted to try #nixfmt on my #nixos-config tree again, so I ran

    fd . -t file --extension nix -x nixfmt

    It was taking unusually long but it was loading my CPU alright.
    Huh, it really shouldn't be taking *this* long.

    Oh, I was in my home directory O.o

    Off to finding all the repos with Nix files in them I have on this machine to undo that...

  24. #TIFU

    Wanted to try #nixfmt on my #nixos-config tree again, so I ran

    fd . -t file --extension nix -x nixfmt

    It was taking unusually long but it was loading my CPU alright.
    Huh, it really shouldn't be taking *this* long.

    Oh, I was in my home directory O.o

    Off to finding all the repos with Nix files in them I have on this machine to undo that...