Installing Guix as a Complete GNU/Linux System - System Crafters
-
guix shell and guix shell container for dev environment isolation
Yeah! This is one of the features I'm most interested in. I haven't gotten to using this feature yet, but I was curious about it.
Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use
guix shell
for this, right? Great.Now if a friend wanted to work on the project, could I share my
guix shell
configuration with him? (Assuming he's also a Guix user.)I'm currently using
distrobox.ini
plusdistrobox assemble
for this kind of workflow, but of course this isn't totally reproducible.Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use
guix shell
for this, right? Great.Iirc guix shell is for one off package or programs you want to test, say you want to quickly format a drive to exfat or so, when you exit the sub-shell, the installed packages are discarded
guix shell containers would work best for your scenario but I have little experience with them
-
guix shell and guix shell container for dev environment isolation
Yeah! This is one of the features I'm most interested in. I haven't gotten to using this feature yet, but I was curious about it.
Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use
guix shell
for this, right? Great.Now if a friend wanted to work on the project, could I share my
guix shell
configuration with him? (Assuming he's also a Guix user.)I'm currently using
distrobox.ini
plusdistrobox assemble
for this kind of workflow, but of course this isn't totally reproducible.Also, welcome to Guix System Distribution, I hope you stick around
-
I quit on day two with two takeaways:
– Hardware must be well supported in fully-libre-land - I was trying to install on a Mac Mini and had to go nonguix pretty much right away. That kind of spoiled the whole effort.
– Profound meditation and enlightenment on the essence of Scheme is a must. I had one of those 'no, this is where you don't want a closing brace' moments and my zen was blown out of the water.
I would have soldiered on, but personally I like Arch first and foremost because I can (and do) have a local repo by rsyncing a rotation of mirrors couple of times a week. Just in case the Internet dies one day, you know. I realised Guix was not really suitable for the apocalypse use case, so after that brace episode I decided to stick with what my spine already knows.
After all that is said – I really hope you fare better
personally I like Arch first and foremost because I can (and do) have a local repo by rsyncing a rotation of mirrors couple of times a week.
Are these mirrors for prebuilt packages? If not, you should be able to pull from other channels, create your own channel and include all your packages while building them locally.
-
Could you share how you do that? It didn't work last time I tried it (using Nix on top of Guix).
You have to setup a Nix service and do some symlink-ing
https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html
-
Trying out Guix for the first time! Waiting for packages to download.
I'm a long time Arch user. Any tips?!
I've heard there aren't as many packages for Guix as other distros, but I was thinking Flatpak and distrobox will help bridge the gap for me.
Btw, here's how you configure HiDPI for GNOME. Unfortunately, my laptop has a hydeepeeay display, so it's not fully compatible with Linux. (It's 3840x2160, so at least 2x scaling is possible, hypothetically.)
Commands from the Arch Wiki, but also adds cursor scaling:
$ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}, {'Gtk/CursorThemeSize', <48>}]" $ gsettings set org.gnome.desktop.interface scaling-factor 2
The default GNOME configuration is some how missing that. I didn't have to do that in Arch, but I do in Guix. IDK. Anyway, if you don't run those commands certain apps will be tiny, including a tiny mouse cursor.
-
personally I like Arch first and foremost because I can (and do) have a local repo by rsyncing a rotation of mirrors couple of times a week.
Are these mirrors for prebuilt packages? If not, you should be able to pull from other channels, create your own channel and include all your packages while building them locally.
Sure, but then I'd be downloading every single source 'package' and compiling for both x86 and ARM - not exactly feasible. Keeping just the sources might be an option though. The point is to have the whole repo, not just the packages I use, so that in the SHTF scenario I can help others install Arch and any software they may need on their machines. Muhahaha, Arch will prevail
-
guix shell and guix shell container for dev environment isolation
Yeah! This is one of the features I'm most interested in. I haven't gotten to using this feature yet, but I was curious about it.
Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use
guix shell
for this, right? Great.Now if a friend wanted to work on the project, could I share my
guix shell
configuration with him? (Assuming he's also a Guix user.)I'm currently using
distrobox.ini
plusdistrobox assemble
for this kind of workflow, but of course this isn't totally reproducible.yes, you would share with him guix manifest which is a file that specifies which packages should be present. What is important to note are inferiors which is a mechanism to version lock the packages.
-
yes, you would share with him guix manifest which is a file that specifies which packages should be present. What is important to note are inferiors which is a mechanism to version lock the packages.
wrote last edited by [email protected]share with him guix manifest
Aaaah: https://guix.gnu.org/manual/devel/en/html_node/Writing-Manifests.html
# Write a manifest for the packages specified on the command line. guix shell --export-manifest gcc-toolchain make git > manifest.scm
Heck yeah!
-
I want to love Guix (both the package manager and the distro). I want to love Scheme. But I can never find any good tutorials for Scheme and using it with Guix. The GNU documentation is more of a reference than a tutorial. I use Emacs on the daily, and I just can't get into Scheme.
-
I want to love Guix (both the package manager and the distro). I want to love Scheme. But I can never find any good tutorials for Scheme and using it with Guix. The GNU documentation is more of a reference than a tutorial. I use Emacs on the daily, and I just can't get into Scheme.
I use Emacs on the daily, and I just can’t get into Scheme.
Do you find that Elisp and Scheme are too different? I don't know either, so they look almost the same to me.
-
I use Emacs on the daily, and I just can’t get into Scheme.
Do you find that Elisp and Scheme are too different? I don't know either, so they look almost the same to me.
@[email protected] I mean... I don't really fully understand Elisp either, despite my Emacs config being 10 years old!