Skip to content
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

Updating node packages and adding yaml-language-server #78926

Merged
merged 2 commits into from Feb 24, 2020

Conversation

rycee
Copy link
Member

@rycee rycee commented Jan 30, 2020

Motivation for this change

Packaging yaml-language-server. Unfortunately this required first updating the node packages.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@rycee rycee changed the title WIP: Updating node packages and adding yaml-language-server Updating node packages and adding yaml-language-server Feb 1, 2020
@rycee
Copy link
Member Author

rycee commented Feb 1, 2020

nix-review result:

error: build of '/nix/store/s27xjzgf8vq8h7jisvqdny2z6bwyc9dv-env.drv' failed
1 package failed to build:
lumo

28 package built:
antora bitwarden-cli create-cycle-app dat emojione fast-cli gtop hueadm image_optim iosevka joplin lessc pulp python37Packages.jupyterhub python37Packages.jupyterhub-ldapauthenticator python37Packages.oauthenticator python38Packages.jupyterhub python38Packages.jupyterhub-ldapauthenticator python38Packages.oauthenticator sage sageWithDoc shout sloc styx thelounge triton twemoji-color-font wasm-text-gen

But apparently lumo already doesn't build.

@alyssais
Copy link
Member

alyssais commented Feb 1, 2020

Is yaml-language-server a program? If so, it should be exposed in all-packages.nix.

@rycee
Copy link
Member Author

rycee commented Feb 1, 2020

@alyssais Good point, yes it provides a yaml-language-server executable. I've pushed a new version that adds it to all-packages.nix.

@AmandaCameron
Copy link
Contributor

This'll need a rebase, but from my understanding of the node stuff in nix, this looks straight-forward enough to merge? Not sure if there's someone who "owns" the node part of nixpkgs who should have been pinged for this?

Not sure if I'm using nix-review wrong or what, but I can't verify if the binary actually runs (and @rycee didn't tick that box)

@rycee
Copy link
Member Author

rycee commented Feb 24, 2020

Heh, I entirely forgot about this. I've been using the binary for some time in my own branch and it works well. I'll try a rebase and merge if it builds ok.

@rycee
Copy link
Member Author

rycee commented Feb 24, 2020

Rebased to master in 8883371.

@rycee rycee closed this Feb 24, 2020
@rycee rycee deleted the pkg/yaml-language-server branch February 24, 2020 23:12
@rycee rycee merged commit 8883371 into NixOS:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants