Add nix development setup#6
Closed
jolars wants to merge 1 commit intofrederikfabriciusbjerre:mainfrom
Closed
Conversation
Owner
|
I'll give it a thought! |
| pkgs.bashInteractive | ||
| (pkgs.rWrapper.override { | ||
| packages = with pkgs.rPackages; [ | ||
| cpp11 |
There was a problem hiding this comment.
Probably do not need cpp11
frederikfabriciusbjerre
approved these changes
Sep 30, 2025
Owner
frederikfabriciusbjerre
left a comment
There was a problem hiding this comment.
Looks good. One question: If I update the package with new dependencies, how can I update the nix dev setup? Can I do it automatically?
Collaborator
Author
|
There are tools to do it automatically, but you don't have to bother about this. The nix setup has no effect on the package itself, it's just a convenience for development and I can submit a PR to update it if and when I need to, so you don't need to worry about it. You can also give me push rights to the repo and I'll just update it whenever the DESCRIPTION changes. (I promise to not push any other updates.)
… Looks good. One question: If I update the package with new dependencies, how can I update the nix dev setup? Can I do it automatically?
|
021847d to
5e94b3b
Compare
Owner
|
I have no issue adding the files, but I want to be able to maintain it myself, preferably automatically. If you can point me to what tools I can use to do this, it would be helpful! |
Repository owner
deleted a comment from
codecov-commenter
Oct 6, 2025
ed6ce82 to
ff45d1a
Compare
Collaborator
Author
|
Turns out that I was wrong about there existing an automated tool for R-to-nix. Oh well. |
Setup direnv and a flake to make development on nix easier.
Repository owner
deleted a comment from
codecov-commenter
Oct 14, 2025
Owner
|
I'm closing since R-to-nix exists, so people can just use that, I assume! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds some development infrastructure that helps people using nix (like me) when developing the package. I understand if you don't want the extra clutter, and if so please feel free to reject the PR.