emacs-twist / twist.nix

Build an entire Emacs configuration as a Nix package in a pure, reproducible way
GNU General Public License v3.0
78 stars 7 forks source link

Provide update & lock commands as flake apps, not packages #37

Closed akirak closed 2 years ago

akirak commented 2 years ago

Nix 2.8 has been released, and it precisely defines the format for apps.

Twist.nix has provided commands for administration as lock and update packages, but it would be better to provide them as apps. The APIs can change, so the user configuration for the commands should be as generic as possible.

akirak commented 2 years ago

Also note that alejandra formatter has been applied to all Nix files (formerly nixpkgs-fmt had been used). Nix 2.8 has added nix fmt, but I am not sure if I should adopt it.