emacs-twist / twist.nix

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

feat: Add proper support for multiple outputs of elisp packages #8

Closed akirak closed 2 years ago

akirak commented 2 years ago

Some packages failed to build info, and there needs to be a proper way to specify outputs.

With this PR, you can override the outputs of a particular package:

  sml-mode = esuper.sml-mode.overrideAttrs (old: {
    outputs = [ "out" ];
  });

The above example skips the build step of info, which would fail by default.

It is now also possible to override the command for building the info document of a particular package.