Guix

484 readers
1 users here now

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

founded 5 years ago
MODERATORS
51
52
53
 
 

Guix main repositories and substitutes appear to be inaccessible from russia, I don't know where else to ask about this other then the irc, but has anyone encountered this and knows how it could be solved? I've found some mentions of this online but no other advices or workarounds

Basically when I try to use Guix package manager on a different system I get infinite attempts to connect to substitutes and when attempting to install guix in a vm the installation fails at some point

54
 
 

I hope for the days when this become very usable

55
56
57
 
 

The guix user surveys are in

58
 
 

I got my Emacs setup fully functional and now I'm doing a little bit of hacking on my config files. (Because that's what you do on Christmas eve, when the children has fallen asleep.)

However, even though I use Geiser and fancy rainbow parentheses (plus extra Christmas bling), I run into these stupid invalid specifier errors. And the compiler output is neither pretty nor helpful. It basically gives me a large chunk of unformatted code and says there's an invalid specifier somewhere.

Questions:

Is it possible to make Guile do a pretty print on the error output?

Is it possible to make Guile error messages more precise about the problem?

59
1
submitted 1 year ago* (last edited 1 year ago) by sith@lemmy.zip to c/guix@lemmy.ml
 
 

I'm trying to configure my Emacs so that I get access to Guix documentation and source code when I writing my configuration files. I did RTFM, but I can't get it to work. More specifically, Geiser can only find symbol definitions if they are in the same buffer.

Actually, I realize I have the same problem as this person: https://unix.stackexchange.com/questions/761784/how-to-get-guix-perfect-setup-to-work

The Guix REPL can find the Guix source code, but the Geiser Guile REPL can't (even though the right path is loaded, it seems). The stackexchange solution is basically a hack and can't be the proper one, right? So, how do you do when developing Guix in Emacs?

Should I post a bug report about the "perfect setup" chapter in the Reference Manual or am I just incompetent?

60
 
 

Howdy!

Probably not the best place to ask, but I'll give it a try. For the sake of a flourishing Fediverse.

I'm trying out Guix and have installed Steam through the nonguix channel. Unfortunately, almost no games work. Probably because of missing/wrong version of stdlibc++ (and probably more). I got this error when I tried to launch Victoria 3:

./victoria3: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ./victoria3)

I.e. GLIBCXX_3.4.30 is missing. How can I fix this? Is it possible to add multiple GLIBCXX versions to the Steam package? Any ideas? And shouldn't Steam be self contained?

61
 
 

The survey is available at https://guix.limesurvey.net/

62
 
 

I'd like to change my Guix System to build packages in a different location (`/dev/shm/`) so that they are built on a tmpfs partition to hopefully speed up builds (defaults to `/tmp` which is on the `/` partition on Guix System). The Guix Manual only mentions that this may be done by setting the environment variable `TMPDIR`.

I was able to do this for a system that is configured as a foreign install by modifying the SystemD service file (Guix Mailing List), but I haven't been able to figure out how to modify my `/etc/config.scm` file to do this on Guix System.

63
64
65
 
 

I usually use Psensor to monitor temperatures but it's not available on Guix yet. Can anybody recommend an alternative that does work on Guix ?

66
 
 

From the article

The great promise of Spritely Goblins is to make networking easier and safer. For the past few years, we've focused on developing a toolkit to facilitate this goal. Today, we're proud to announce an incredibly exciting project that will put this toolkit to the test in the largest real-world deployment of Spritely technology so far: a port of the GNU Shepherd system layer to Guile Goblins — the first step in making Guix the object-capability operating system!

67
 
 

Protonvpn has some instructions to connect via openvpn:

https://protonvpn.com/support/linux-openvpn/

Where I'm stuck is step 3, where the guide has you download a dns update script into /etc/openvpn.

Openvpn doesn't reside in /etc so I'm not sure how to handle that. Any advice? Thanks.

68
 
 

Compiling a rust program works correctly, but when running the binary the dynamic linker says libstdc++.so.6: cannot open shared object file: No such file or directory.

The only way I found to get around this in a manifest file is with force accessing gcc:lib which is a private package definition:

(concatenate-manifests
 (list
  (packages->manifest
   (list
    (list (@@ (gnu packages gcc) gcc-13) "lib"))
  (specifications->manifest
   (list
    "coreutils"
    "libgccjit"
    "clang-toolchain"
    "other stuff..."))))

but the @@ operator is kind of a hack since it accesses private definitions in a module and probably isn't mean to be normally used.

Has anyone found a proper way to link to libstdc++.so.6?

69
 
 

I am thinking about moving to Guix, and was wondering what you all think of Shepherd?

What are things you like? What are its shortcomings? Any cool or weird things you wish you knew before using it?

For context, I am currently using Runnit.

70
71
1
submitted 2 years ago* (last edited 2 years ago) by csantosb@lemmy.ml to c/guix@lemmy.ml
 
 

New blog post on the 100+ Guix packages contributed by AMD, preliminary tests on one the French national supercomputers, and how it can benefit going forward to both AMD and the French and European #HPC environments.

72
 
 

a proposal of automated provisioning of secrets on guix with sops

73
 
 

Old post but better have it in this community

74
 
 

Old post, but better have it in this community

75
1
submitted 2 years ago* (last edited 2 years ago) by HulkSmashBurgers@reddthat.com to c/guix@lemmy.ml
 
 

Edit: Turns out for what I'm trying to do (mount luks encrypted raid after start up) only needs the device mapping for the raid drive and not a file-system object.

So I luks encrypted the raid and call a script to open the vault and mount it when I need to.


In my system config file I added a raid drive like so:

(mapped-devices (list (mapped-device
                                     (source (uuid
                                                  "205e5caa-694f-4457-a2a1-8affa3536e75"))
                                     (target "guix")
                                     (type luks-device-mapping))

                                  (mapped-device
                                     (source (list "/dev/sdb1" "/dev/sdc1"))
                                     (target "/dev/md0")
                                     (type raid-device-mapping))))

(file-systems (cons* (file-system
                                  (mount-point "/")
                                  (device "/dev/mapper/guix")
                                  (type "ext4")
                                  (dependencies (list (list-ref mapped-devices 0))))

                               (file-system
                                  (mount-point "/mnt/nas")
                                  (device "/dev/md0")
                                  (type "ext4")
                                  (mount? #f)
                                  (dependencies (list (list-ref mapped-devices 1)))) %base-file-systems)))

I'd now like to luks encrypt the raid drive but I'm not sure how to go about doing it. Do I simply make a another mapped-device object, specifying the raid drive uuid and "/dev/md0" as the target:

(mapped-device
   (source (uuid
                {raid uuid}))
                (target "/dev/md0")
                (type luks-device-mapping))

and then pass that as a dependency to the raid file system object?

Thanks

view more: ‹ prev next ›