this post was submitted on 12 Mar 2024
8 points (100.0% liked)

Guix

274 readers
2 users here now

Guix is an advanced distribution of the GNU operating system developed by the GNU Project

founded 4 years ago
MODERATORS
 

I'm not sure if this is the right term to use, but in Nix, there's a shell.nix file to access the shell in an isolated, pure environment. I have a repository, basically a web app that uses NodeJS. I want to be able to invoke a new shell using guix shell. What is the similar equivalent in Guix? Is it guix.scm or manifest.scm?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 6 months ago (1 children)

It requires at least 16GB of RAM.

What do you mean? I just tried installing it through nix shell nixpkgs#mongodb and it used like 1gb of ram while building. It definitely doesn't take that much to run it, as the free instances are a lot smaller. I've got 0 experience hosting it though, we only used the official cloud solutions at my previous job.

If you just need a simple local DB to distribute with your app, isn't sqlite the best?

And docker is…I kinda find it irritating.

Sure, but it's the industry standard for a reason.

[–] [email protected] 2 points 6 months ago

I'm talking about this: https://github.com/NixOS/nixpkgs/issues/258489. This issue has still not been resolved.

If you just need a simple local DB to distribute with your app, isn’t sqlite the best?

I also want to deploy them, so SQLite isn't ideal in that case. Honestly, I'm in favor of FerretDB, now that I've realized how convenient it is as a MongoDB-compatible replacement.