antora: repackage using buildNpmPackage#229512
Conversation
|
@domenkozar I've overwritten your previous package derivation in That also makes me realise there's still |
Good catch, does not sound useful to me. |
SuperSandro2000
left a comment
There was a problem hiding this comment.
I think it is fine to not regen the nodePackages lock file all the time to reduce merge conflicts. On the next regen the entries will just disappear and until then we have some dead code but the workflow is going to be so much nicer.
I'm wondering what to do with |
We might need the workspace logic from #218923. I may extract the workspace logic and put it in a newer PR with review comments addressed, so that we can get that in sooner and be able to package more npm monorepos |
|
I have rebased with master and included antora in the overrides file |
Description of changes
Repackages
nodePackages.@antora/clito be built usingbuildNpmPackageas per the suggestion in #229475@winterqt
Things done
I've had to link the long
$out/lib/node_modules/antora-build/packages/cli/bin/antorapath to$out/bin/antorabecause the the base repository is a monorepo containing a bunch of tools. I tried setting an npm flag--package clito only build the@antora/cli, but that doesn't seem to have changed anything. Is there a better way of doing this?sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)