nixfmt alternatives and similar packages
Based on the "Development" category.
Alternatively, view nixfmt alternatives based on common mentions on social networks and blogs.
-
haskell-lsp
Haskell library for the Microsoft Language Server Protocol -
structured-haskell-mode
Structured editing minor mode for Haskell in Emacs -
cabal-install-parsers
Scripts and instructions for using CI services (e.g. Travis CI or Appveyor) with multiple GHC configurations -
stgi
A user-centric visual STG implementation to help understand GHC/Haskell's execution model. -
criterion
A powerful but simple library for measuring the performance of Haskell code. -
fourmolu
A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome! -
inline-c
Write Haskell source files including C code inline. No FFI required. -
gi-atk
Generate Haskell bindings for GObject-Introspection capable libraries -
inline-java
Haskell/Java interop via inline Java code in Haskell modules. -
lambdabot-core
A friendly IRC bot and apprentice coder, written in Haskell. -
scion
OLD, DEPRECATED: Use this instead https://github.com/haskell/haskell-ide-engine -
implicit-hie
Auto generate a stack or cabal multi component hie.yaml file
InfluxDB - Power Real-Time Data Analytics at Scale
Do you think we are missing an alternative of nixfmt or a related project?
Popular Comparisons
README
<!-- © 2019 Serokell [email protected]
- © 2019 Lars Jellema [email protected] -
- SPDX-License-Identifier: MPL-2.0 -->
nixfmt
nixfmt
is a formatter for Nix code, intended to easily apply a uniform style.
You are encouraged to test this out on your code and submit any undesirable formatting you find as an issue
Installation
nixfmt
is in nixpkgs master as of 2019-09-04:nix-env -iA nixpkgs.nixfmt
To get the most recent version, install from master:
# Optional: use cachix to get cached builds even for master cachix use nixfmt nix-env -f https://github.com/serokell/nixfmt/archive/master.tar.gz -i
Nix with flakes
nix profile install github:serokell/nixfmt
Development
With Nix
Haskell dependencies will be built by Nix.
- Enter
nix-shell
- Build with
cabal new-build
Without Nix
Haskell dependencies will be built by Cabal.
- Build with
cabal new-build
Usage
nixfmt < input.nix
– reads Nix code formstdin
, formats it, and outputs tostdout
nixfmt file.nix
– format the file in place
For Contributors
We welcome issues and pull requests on GitHub.
About Serokell
nixfmt
is maintained and funded with :heart: by
Serokell. The names and logo for Serokell are trademark
of Serokell OÜ.
We love open source software! See our other projects or hire us to design, develop and grow your idea!
*Note that all licence references and agreements mentioned in the nixfmt README section above
are relevant to that project's source code only.