3
submitted 1 year ago by Omniformative@lemm.ee to c/nixos@lemmy.ml

Is anybody using distrobox on NixOS to develop and run software? What are your thoughts on using it?

I feel like it's a huge time saver and makes the use of NixOS easier for beginners. Instead of spending an afternoon or a few days trying to compile or run something using nix, you can spin up a box and seamlessly do your development there. This makes prototyping and testing things out way easier before investing a bunch of time trying to nixify it.

you are viewing a single comment's thread
view the rest of the comments
[-] priapus@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

You can, but I don't think it is necessary in most cases. Managing dependencies is one of the things that Nix is best at. You don't need to compile the software with Nix, but you can use a Nix shell to hack on some software without Nixifying it before hand. Shell's should make all of the dependencies you specify available to use, as well as setting the right environment variables to work without Nixifying. I only use distrobox if I run into some software that I have significant trouble running on NixOS with a shell, which rarely happens.

this post was submitted on 13 Jul 2023
3 points (100.0% liked)

nixos

1262 readers
1 users here now

All about NixOS - https://nixos.org/

founded 4 years ago