Skip to content

Add nix development setup#6

Closed
jolars wants to merge 1 commit intofrederikfabriciusbjerre:mainfrom
jolars:nix-dev-setup
Closed

Add nix development setup#6
jolars wants to merge 1 commit intofrederikfabriciusbjerre:mainfrom
jolars:nix-dev-setup

Conversation

@jolars
Copy link
Copy Markdown
Collaborator

@jolars jolars commented Sep 29, 2025

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.

@frederikfabriciusbjerre
Copy link
Copy Markdown
Owner

I'll give it a thought!

Comment thread flake.nix Outdated
pkgs.bashInteractive
(pkgs.rWrapper.override {
packages = with pkgs.rPackages; [
cpp11
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably do not need cpp11

Copy link
Copy Markdown
Owner

@frederikfabriciusbjerre frederikfabriciusbjerre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@jolars
Copy link
Copy Markdown
Collaborator Author

jolars commented Sep 30, 2025 via email

@jolars jolars force-pushed the nix-dev-setup branch 2 times, most recently from 021847d to 5e94b3b Compare October 3, 2025 13:52
@frederikfabriciusbjerre
Copy link
Copy Markdown
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
@jolars jolars force-pushed the nix-dev-setup branch 2 times, most recently from ed6ce82 to ff45d1a Compare October 14, 2025 11:14
@jolars
Copy link
Copy Markdown
Collaborator Author

jolars commented Oct 14, 2025

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
@frederikfabriciusbjerre
Copy link
Copy Markdown
Owner

I'm closing since R-to-nix exists, so people can just use that, I assume!

@jolars jolars deleted the nix-dev-setup branch November 10, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants