-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
quarto: allow overriding extra R and Python packages #211941
Conversation
Do you have an idea why the command
|
Also quarto is not longer a part of PATH with your submission. |
That's very weird, if not overridden, it shouldn't change anything, as it's only concatenating an empty array.
What do you mean by that? |
I my case, I add the package to the local scope and quarto is able to have access to them. Why to you want to have an override option? |
As I said: I'm not able to run quarto inside |
If I want to execute render the first R example from the documentation, I need to have the If I install in my environment an R package with |
Thats how the command is processed:
|
nixpkgs-review reports:
This is because this PR doesn't modify the quarto package if the package is not overridden, which is why nixpkgs-review doesn't try to build quarto: the hash is the same as on master. This is also why quarto is not part of your environment. |
I see, that would it make less hacky to add additional packages. Well know I see the usage, thank you. |
So you mean, I have to install quarto first and then review the changes? |
Yepp, that's it. Now it works, a bit strange behavior of the review function, but anyway i have it for the future. Thank you, for the suggestion! |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Description of changes
Tested by running a
.qmd
file needing ggplot2 and a.qmd
file needing numpy and matplotlib.Pinging @MrTarantoga
Things done
sandbox = true
set 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/
)nixos/doc/manual/md-to-db.sh
to update generated release notes