-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodePackages: init sass clubhouse-cli makam inliner undollar (combine several PRs) #100606
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/call-for-nodepackages-maintainers/9176/25 |
Result of 2 packages marked as broken and skipped:- rambox-pro - teleprompter 54 packages built:- antora - bitwarden-cli - castnow - create-cycle-app - emojione - epgstation - etcher - fast-cli - gtop - image_optim - imapnotify - iosevka - joplin - lessc - lumo - mastodon-bot - mirakurun - netlify-cli - parity-ui - pm2 - postcss-cli - pulp - python37Packages.batchspawner - python37Packages.dockerspawner - python37Packages.jupyterhub - python37Packages.jupyterhub-ldapauthenticator - python37Packages.jupyterhub-systemdspawner - python37Packages.jupyterhub-tmpauthenticator - python37Packages.oauthenticator - python38Packages.batchspawner - python38Packages.dockerspawner - python38Packages.jupyterhub - python38Packages.jupyterhub-ldapauthenticator - python38Packages.jupyterhub-systemdspawner - python38Packages.jupyterhub-tmpauthenticator - python38Packages.oauthenticator - redoc-cli - ripcord - shout - slack - styx - thelounge - triton - twemoji-color-font - vimPlugins.coc-eslint - vimPlugins.coc-go - vimPlugins.coc-metals - vimPlugins.coc-prettier - vimPlugins.coc-stylelint - vimPlugins.coc-tslint - vimPlugins.coc-vetur - vimPlugins.coc-yaml - wasm-text-gen - yaml-language-server |
I tried bitwarden-cli and lessc binaries, and the both display help messages. |
@cideM Any reason you see not to merge now? |
I tried building all packages on my Macbook and {
makam = super.makam.override {
buildInputs = [ pkgs.nodejs pkgs.makeWrapper ];
postFixup = ''
wrapProgram "$out/bin/makam" --prefix PATH : ${stdenv.lib.makeBinPath [ pkgs.nodejs ]}
patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 "$out/lib/node_modules/makam/makam-bin-linux64"
'';
};
} I'll have to look into the proper Darwin replacement for A quick glance at how all of this works tells me that I can't just replace Other options:
Will continue tomorrow |
This commit combines several individual PRs which would have resulted in merge conflicts in the generated JSON files. Instead, the "generate.sh" script is only ran once. Due to "makam" not building on MacOS in the form it was originally added in the PR I made some adjustments to this diff. List of added packages: - nodePackages.clubhouse-cli: init at 2.1.0 - nodePackages.makam: init at 0.7.17 - nodePackages.inliner: init at 1.13.1 - nodePackages.sass: init at 1.27.0 - nodePackages.undollar: init at 1.0.0 Co-authoring is used to preserve contributions. Co-authored-by: Changlin Li <[email protected]> Co-authored-by: Pasquale <[email protected]> Co-authored-by: Teodoro Freund <[email protected]> Co-authored-by: Tobias Mayer <[email protected]> Co-authored-by: vladki <[email protected]>
I made a change to the I can run Also I didn't re-run |
This PR is my attempt to help with the issue (and potential, temporary solution) described in this Discourse thread.
Every time someone changes the NodeJS package list and generates a new
.json
file, it results in merge conflicts for subsequent NodeJS package list modifications, since they all affect the same file.What I did was manually go through some PRs, copy their changes but skipping the
.json
file changes and then I just rangenerate.sh
once. I included all authors through co-authoring.These are the PRs that I combined:
I haven't done any testing yet since I'm kinda still at work so I'd go through the checklist later, in case this approach here is considered worth doing.
I think this approach is easy to automate. Just go through a list of PRs, get their diffs, apply them but skipping the
.json
changes, accumulate the commit authors while doing so and then generate the.json
files once.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)