Guix and GuixSD

177 readers
3 users here now

Community for all Guix and GuixSD users

founded 2 years ago
MODERATORS
1
4
submitted 1 day ago* (last edited 1 day ago) by paequ2@lemmy.today to c/guix
 
 

I'm trying to get guix installed on an Ubuntu 24.10 (work) machine.

I tried running guix home container, but got this error.

error: mount: mount "none" on "/tmp/guix-directory.V6IzTc": Permission denied

I fixed it by creating a file at /etc/apparmor.d/guix with this content.

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile guix /{usr/bin/guix,gnu/store/*-guix-command,gnu/store/*/bin/guix,gnu/store/*/libexec/guix/guile,gnu/store/*/bin/guile} flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/guix>
}

Seems to have fixed that error now! Woo.

2
8
Guix for development (dthompson.us)
submitted 1 week ago* (last edited 1 week ago) by paequ2@lemmy.today to c/guix
 
 

guix shell sees to it that all of the dependencies (listed in the inputs and native-inputs sections) are available within the shell session it creates by downloading (or building, if necessary) the entire dependency tree.

Should you want/need more isolation from the host system, guix shell has you covered. The --pure flag will clear out most existing environments variables, such as $PATH, so that the resulting environment does not contain pointers to places like /usr. For more Docker-like isolation, the --container flag can be used, which will run the new shell session within a set of Linux namespaces so that the host system is inaccessible.

3
4
 
 

Using the Grid'5000 infrastructure,a study of the effect of nine different CPU models using two software packaging systems (#docker and #guix), and comparison of the resulting hardware variability to numerical variability measured with random rounding.

5
6
7
5
Guix hosting (guix-hosting.com)
submitted 3 weeks ago by cm0002@lemmy.world to c/guix
8
9
 
 

cross-posted from: https://lemmy.today/post/33048676

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.

10
 
 

I'm trying to install some Flatpak apps on my newly installed Guix system.

I found this link https://flatpak.org/setup/GNU%20Guix which says I should these commands.

$ guix install flatpak
$ flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

After running those commands, I restarted my computer, just to be safe.

Then I logged into GNOME again and noticed I did not have GNOME software center installed. Normally that's how I install Flatpaks...

I tried installing some stuff through the CLI with this command.

$ flatpak install --user flathub com.logseq.Logseq

and that seems to have worked, but Logseq isn't showing up in my app launcher.

I can manually launch it with flatpak run com.logseq.Logseq, but it would be great if I could launch it from the normal app launcher.

So... are flatpaks supported in Guix? Or am I missing some configuration?

11
12
13
14
 
 

OC by: @jjba23@lemmy.ml

With the idea of promoting the usage of Guix and of my favourite programming language Guile Scheme, I created a small project which is still in early stages, but I think with some more love and effort can be quite something.

https://jointhefreeworld.org/guile-show-hub/

The Guile ShowHub! Promoting all Guile projects out there! By reading from foss Guix project source code we can tap into a plethora of information, and leverage the homoiconicity of Lisp to directly analyze the source code and extract info.

15
16
17
18
19
 
 

Generate SVG images for handy useful glyphs, org/markdown badges and more, from Lisp (Guile Scheme)

https://codeberg.org/jjba23/ggg

Be proud and appreciate technologies and techniques you use, distinguish clearly supported versions of things, etc. With flexible support for badges between one and three parts.

Through SVG generation from Lisp (Guile Scheme) we leverage a beautiful DSL and apply some mathematical knowledge to build pixel perfect badges. These SVG can then be easily converted without quality loss to any desired format.

With GGG, you have the power to create your own badges and images with a consistent and clean aesthetic.

20
21
22
23