Conversation
|
The main question for whether to have a |
|
Just including asciidoctor-diagram and bespoke in the main asciidoctor package is fine. Other than that the packaging looks good to me. |
|
I followed your suggestion and removed the asciidoctor-full attribute in favor to asciidoctor. Also, I would be grateful if you could look at how to prevent bundlerEnv from creating unwanted executables. Currently, one is created in the bin folder for every dependency, which is unneeded. |
|
Alright, take a look at |
There was a problem hiding this comment.
No need to say that. A lot of different things could happen in the future :)
There was a problem hiding this comment.
Removing right now.
|
Thanks for the tip. If I understand well, the derivation exposes a shell script that will call the given executable with the specified environment. This should do the trick but it adds a layer when none is needed. The environment of the executables are fine. I guess I could just |
|
Sure, removing the unecessary bin scripts in a postInstall step would also work. Ideally with a whitelist do new binaries don't emerge when upgrading the packages. |
|
Is this ready? |
|
It's almost ready, it just needs a bit of work to remove the unnecessary binaries that are being produced by the bundlerEnv. |
|
I tried to add a whitelist attribute to bundlerEnv but finally decided to go the ugly route and delete manually the unneeded executables. It's much simpler and doesn't require to list the extensions. |
|
perfect, thanks ! |
|
This isn't working for me, it can't find a mirror for The URL returns a 404 as well. |
|
I think this particular version has been yanked. https://rubygems.org/gems/asciidoctor-latex/ doesn't list it either. |
asciidoctor-latex: 1.5.0.6.dev -> 1.5.0.8.dev See NixOS/pull/15135#issuecomment-216984749 This optional dependency may be removed if this happens too often
This was sitting in my personal repo until @aneeshusa suggested that I share it.
Asciidoctor is packaged with some of its optional dependencies, this is why there are both
asciidoctorandasciidoctor-fullas pkgs attributes names. I would very much like the help of someone versed in packaging gems to make this configurable.Things done
(nix.useSandbox on NixOS,
or option
build-use-sandboxinnix.confon non-NixOS)
nix-shell -p nox --run "nox-review wip"./result/bin/)