Bruno Rodrigues
banner
brodriguesco.bsky.social
Bruno Rodrigues
@brodriguesco.bsky.social
Sworn in Data Janitor

blog: http://brodrigues.co

youtube: http://is.gd/NjybjH

mastodon: http://is.gd/nOyGht

twitter: @brodriguesco

"nix solves this"
you'd define an environment with the required deps versions, for example github.com/ropensci/rix...

this is the default.nix to develop rix. If I needed a specific version of some dependency, I'd add it there.
rix/default.nix at main · ropensci/rix
Reproducible Data Science environments for R with Nix - ropensci/rix
github.com
November 9, 2025 at 3:10 PM
I'm not sure I understand what you're trying to do, could you describe what you're trying to achieve?
November 8, 2025 at 3:25 PM
you can have a specific environment with specific packages per node, see github.com/b-rodrigues/...

that being said mojo is not included in Nix for now
rixpress_demos/r_multi_envs at master · b-rodrigues/rixpress_demos
Contribute to b-rodrigues/rixpress_demos development by creating an account on GitHub.
github.com
November 8, 2025 at 9:50 AM
here's an example where both R and Python are used github.com/b-rodrigues/...
rixpress_demos/r_python_quarto at master · b-rodrigues/rixpress_demos
Contribute to b-rodrigues/rixpress_demos development by creating an account on GitHub.
github.com
November 7, 2025 at 2:46 PM
thanks! of course one could ask why one would need to use machine learning for predictions since the solved model is right there, but the point was to show how easy rixpress makes using different languages for one single project 😁
October 28, 2025 at 8:52 PM
thanks for the feedback, really cool to see it being useful to others!
October 24, 2025 at 7:32 PM
cool! if you have questions don't hesitate !
October 24, 2025 at 6:34 PM
btw, how long have you been using Nix? you use it only inside Docker? why not directly on your machine?
October 24, 2025 at 6:24 PM
enjoy bit-for-bit reproducible environments!
October 24, 2025 at 5:26 PM
let's goooooooo
October 24, 2025 at 4:43 PM
this is very strange; is direnv working correctly? restart wsl, cd into the project, and type which R: is the path you see from the nix/store? this looks like direnv is not doing what it's supposed to. Did you put the two lines inside of the .envrc file?
October 24, 2025 at 3:21 PM
did you run direnv allow in the project directory? did you restart everything once? what happens if instead you type positron in the nix-shell ?
October 24, 2025 at 2:59 PM
you said you reinstalled wsl: did you also install direnv in wsl, the direnv extension for positron and setup the hook in .bashrc?
October 24, 2025 at 2:28 PM
you also need to close and reopen the WSL terminal after installing nix
October 24, 2025 at 5:34 AM
no, never seen this issue. where are you trying to run this? everything needs to run inside the wsl terminal (installing nix, cachix, running the rix scripts, etc)
October 24, 2025 at 5:27 AM
if you’re using it inside docker, you could do it like so github.com/ropensci/rix...
rix/vignettes/z-advanced-topic-using-nix-inside-docker.Rmd at f25e9f21b78b237c9c4ef5a2be58da8512d09e2d · ropensci/rix
Reproducible Data Science environments for R with Nix - ropensci/rix
github.com
October 24, 2025 at 5:25 AM
mmh, you shouldn't have to open Positron from WSL. Opening from the windows start menu, and from Positron, opening a project should work. I wonder if Positron's linux terminal might be using some other distro than your main WSL distro. I've seen this happening with students.
October 23, 2025 at 3:34 PM