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
yaml-language-server: Fails to start due to missing prettier
dependency
#106449
yaml-language-server: Fails to start due to missing prettier
dependency
#106449
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will overwritten the next time we generate the file via the update script.
@SuperSandro2000 I see, I didn't know this file was being auto-generated. Can you point me to where the original file is? |
I think we can fix this by overriding in node-packages/default.nix: yaml-language-server = super.yaml-language-server.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/yaml-language-server" \
--prefix NODE_PATH : ${self.prettier}/lib/node_modules
'';
}); |
6822585
to
769955f
Compare
@SuperSandro2000 could you have another look? I took @naistran advice |
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 1 package built:
|
769955f
to
449100b
Compare
@ofborg eval |
I am not 100% sure why ofborg fail because pkgconfig got removed on master in that file already. Can you try rebasing and removing any occurrence of pkgconfig in this file with pkg-config? Edit: I found the eval failure. Unrelated. Gimme 10 minutes to fix it. |
@ofborg eval |
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
|
Latest
yaml-language-server
fails to start:Problem goes away if
prettier-2.2.1
is added as a dependency to the node package foryaml-language-server