I'd love to try Nix. But, I'm using an Nvidia Jetson environment, which is based on a preinstalled Ubuntu 18.04, probably with lots of specific driver configurations that I don't want to touch (or reinvent). I've also learned that running Nix on top of Ubuntu is not the greatest idea, see e.g. [1]. [1] https://news.ycombinator.com/item?id=16443323
NixOS Linux
61–70 of 82 posts
Re: NixOS Linux
#62Earlier quoted context omitted.
Has the container situation improved? Last time I looked (quite some time ago) I couldn’t find an official or community blessed container to base anything on.
I've used the nixos/nix image from Docker Hub[1] to run some CI scripts using Nix to build my projects. As far as I understand it, it's basically Alpine Linux with the Nix package manager and tools preinstalled, but it worked pretty well for me. [1]: https://hub.docker.com/r/nixos/nix/
Re: NixOS Linux
#63Re: NixOS Linux
#64Earlier quoted context omitted.
> Using a special command (nix-shell) whenever I needed to do development things (e.g. Rust builds) was not my idea of fun. Funny you should mention that, because that's exactly what got me using Nix everywhere :). I've always hated installing tools and libraries globally—what if I need a different version for a future project?—so I like tools that sandbox as much as possible like virtualenv, cargo, cabal... etc. But…
Out of interest, how does this work if using something like Visual Studio Code or some other IDE?
Re: NixOS Linux
#65But overall: it makes me more productive. It is my secret weapon to manage the complexity of software development.
Re: NixOS Linux
#66I played with NixOS and am willing to admit that it was too difficult. It's probably great for devops, but it's just slightly too rigid for my own personal use. Let me give an example: let's say you want to use xmonad on top of Plasma. NixOS doesn't have any simple way to configure that. You have the mutually exclusive options for one or the other, basically. I know Nix is powerful enough to do this, if I wanted to g…
I think it's fantastic that we have a declarative, deterministic, idempotent package manager that works across all these OSs. I've used it happily for years now without ever bothering to try NixOS.
Re: NixOS Linux
#67Re: NixOS Linux
#68Re: NixOS Linux
#69Just to see if I understand, does this mean you might end up having dozens of libcurls?
Not repeating the others: If a package does end up using multiple version of the same lib, nixos can even deduplicate it somewhat, by symlinking one’s documentations to the other’s.
Re: NixOS Linux
#70Kind of off topic, but I would love to have NixOps ( https://github.com/NixOS/nixops ) as an abstraction layer for every type of cloud service, and not just virtual machines (e.g. queues, object storages, etc). There is Terraform and Ansible, of course, but Nix seems like it could combine the strengths of both of them.