Re: arm-none-eabi-toolchain: stdlib.h not found

2024-09-06 Thread Rutherther
der in this variable. Another issue you might have is the libstdc++ not being linked properly, that might be because currently it outputs to /lib inside of package output instead of arm-none-eabi/lib. You might try adding the $GUIX_ENVIRONMENT/lib into your CROSS_LIBRARY_PATH as a workaround. Regards, Rutherther

Re: Auto login stopped working

2024-11-05 Thread Rutherther
g (login-pause? #t). This means I have to hit enter to log in, but I personally actually prefer that. If this is not for you, I don't have any more pointers unfortunately. Regards, Rutherther

Re: 'guix build [P]' followed by 'guix install /gnu/store/[...]' vs. 'guix install [P]'

2024-11-07 Thread Rutherther
bstitutes and only if you use command like guix shell / guix install. Additionally, if you are only concerned about the size it takes up in store, you can guix gc those paths right after the build. Regards, Rutherther

Re: how can I open files through packages installed in different profiles

2024-12-08 Thread Rutherther
be it would make sense to always prepend the project share folders one by one in there. Regards, Rutherther

Re: how can I open files through packages installed in different profiles

2024-12-07 Thread Rutherther
ng guix home, you can use home-environment-variables-service-type, it will put it to the correct place, where it will be sourced from the profile file. Examples are in the manual. Regards, Rutherther

Re: Injecting/importing environment variables in shepherd environment

2025-02-10 Thread Rutherther
blueman-applet network-manager-applet)) ``` You can find more in my channel: https://git.ditigal.xyz/~ruther/guix-exprs/tree/main/item/ruther/home/services/wayland.scm If anyone had any ideas on improvements, I would appreciate that. Regards, Rutherther

Re: 'guix install' downloads all outputs for packages with cmake build system.

2024-12-11 Thread Rutherther
build the package, so you should be able to get just one output as long as it is substituted. So indeed, if install substitutes all outputs for some packages, something is wrong and it should be possible to fix it. Rutherther Date: Wed, 11 Dec 2024 09:54:36 +0100 Message-ID: <878qsmppkj@ditigal.xyz>

Re: Cannot build "guix" on aarch64

2024-12-15 Thread Rutherther
ll. And cuirass hasn't gotten to it yet. Regards, Rutherther

Re: Cannot build "guix" on aarch64

2024-12-25 Thread Rutherther
Hi Ethan, Nice to hear you got it fixed after all! > > Hi Rutherther, > > I did some more tests and found out that the `guix` package compiles > successfully if I make my /tmp directory use my root BTRFS partition instead > of Tmpfs. Somebody on Github[1] thinks this has t

Re: guix system: error: more than one target service 'dbus' when attempting to reconfigure sysctl values

2025-03-21 Thread Rutherther
e same list twice. modify-services just takes a list and returns a modified list, in the first case removing gdm from it, in the second case modifying sysctl. Regards, Rutherther

Re: Guix pull with root user?

2025-03-24 Thread Rutherther
ld by default use root's guix and most users do not use it. So unless you have a special purpose for it and run something from root directly, you don't need to pull it at all and can even delete the root's generations to save up some space. Regards, Rutherther

Re: Cannot open a MATE session on Trisquel after installing Gajim from Guix

2025-04-05 Thread Rutherther
ways by changing the guix packages so that there is no such search path (or that glib is not propagated to your profile), but that would be harder and you wouldn't be able to use guix install conveniently form cli. Regards, Rutherther

gc rooting operating-system-derivation via gc-root-service-type

2025-03-25 Thread Rutherther
derivation and output gc rooted is different than one obtained with --no-grafts of the original system. I suppose that could be because it is being grafted afterwards? But still, it's not the same path as the grafted one, so something strange is going on. Regards, Rutherther

Re: How can empty generated files in the store happen? Has someone experienced this?

2025-04-08 Thread Rutherther
n how to recover if you're unsure. Based on how much damage was done you might have to boot to a previous generation and remove the newer+gc, or even go to a live iso and delete more than that. Regards, Rutherther

Re: How can empty generated files in the store happen? Has someone experienced this?

2025-04-08 Thread Rutherther
myself yesterday and it was working. > >> >> I am thinking that your system might not have actually shutdowned >> properly, because otherwise it doesn't make sense to me your store files >> would get corrupted. > > When I reboot without kexec, my system usually complains about unmounted > /run/user/1000, but I don't know if that might have something to do with > it. Yes, that could be the issue, it doesn't sound good. The unmounting should finish without errors. Regards, Rutherther

Re: gc rooting operating-system-derivation via gc-root-service-type

2025-04-01 Thread Rutherther
> Hi Rutherther, > > Rutherther writes: > >> Hello all, >> >> I would like to gc root my operating system derivation to keep all >> inputs necessary to build the system in store even on gc colleting, >> preferably also the ungrafted versions. One way

Re: gc rooting operating-system-derivation via gc-root-service-type

2025-03-28 Thread Rutherther
ing grafted afterwards? But still, it's not the same path as the > grafted one, so something strange is going on. I am still confused about how the grafts work exactly and can't figure out if I did what was needed yet, or not. Why doesn't the derivation match? Regards, Rutherthe

Re: Idiomatic way to run Emacs 30.1?

2025-04-08 Thread Rutherther
complex understanding of what changed between the versions in the build steps. But it is already packaged, so there is no need to do that. To run it in a shell, you can do `guix time-machine --branch=emacs-team -- shell emacs` and possibly add more emacs packages to the shell here. > >Best regards, >Snikta > Regards, Rutherther

Re: XFCE Thunar application launch error

2025-04-08 Thread Rutherther
Hello, Mihael Verček writes: > Hi! > > When I'm trying to open a program from Thunar (like opening a pdf) > nothing happens and in logs I get: libgvfscommon.so: undefined symbol: > g_once_init_enter_pointer > > Opening programs from whiskermenu or terminal works as a workaround. Seems that a

Re: Guix pull with root user?

2025-04-08 Thread Rutherther
Hi Daniel, Daniel Hatton writes: > On 23/03/2025 15:50, Rutherther wrote: > >> Yes, exactly. sudo will use the guix from your user's path, so root's >> guix is not used for this. > > Hmm. I usually use "su -" rather than "sudo" when I ne

Re: How can empty generated files in the store happen? Has someone experienced this?

2025-04-08 Thread Rutherther
Tobias Geerinckx-Rice writes: > Hiza, > > On 8 April 2025 16:48:37 UTC, Rutherther wrote: >>But on the other hand it's not responsibility of Guix to actually make >>sure the files are written to the disk itself. It just makes sure what >>currently is on the fil

Re: Help! I just killed my Guix System!

2025-04-07 Thread Rutherther
st try what I suggested above. (but note that since of the bug I outlined, you will still need to remove /etc/guix/acl) Just to make stuff faster in case it's not /etc/guix/acl, check also for special files (/bin/sh and /usr/bin/env by default, maybe you have more in your config), and see if there is file in the folder, but with .new extension. This is one other think that can cause symlink: File exists (but the log should look differently from what you sent, so I don't think that's it) Good luck, Rutherther

Re: Question about build systems and programming language dependencies

2025-04-06 Thread Rutherther
with not-so-clearly defined dependencies - you don't know the exact version, you don't know where to obtain it nor what the process to build it will be (though you can of course guess it will be just simple makefiles/autoconf) Regards, Rutherther

Re: Help! I just killed my Guix System!

2025-04-07 Thread Rutherther
"Tanguy Le Carrour" writes: > Hi Rutherther, > > On Mon Apr 7, 2025 at 10:22 AM CEST, Rutherther wrote: >> Let me guess, you have /etc/guix/acl file pointing to a non existing >> store location. >> See https://issues.guix.gnu.org/77201, there is a bug with

Re: How to set user groups inside guix shell container

2025-04-13 Thread Rutherther
am afraid you cannot really do that. The guix shell container supports limited amount of use cases, and changing user groups is not one of them. You would have to make a container of your own, without using guix shell container. Regards, Rutherther

Re: Is it possible to have extra .scm files in a channel?

2025-04-28 Thread Rutherther
an just do guix pull/time-machine directly, with local path to the channel instead of using the remote git repo. Regards Rutherther

Re: Reproducibility of guix shell container across different host OS

2025-04-30 Thread Rutherther
ere is not much to go on without that. Regards Rutherther

Re: How to annotate patches with mumi?

2025-05-05 Thread Rutherther
s in the guix >manual](https://guix.gnu.org/manual/devel/en/html_node/Debbugs-User-Interfaces.html#Command_002dLine-Interface). Hello, Does send-email really support -v2 with a patch file? Doesn't it only support it with commits? Anyway to answer the question, I would use -v2 with form

Re: python shepherd service environment

2025-05-01 Thread Rutherther
> GI_TYPELIB_PATH after January... but that might be difficult to track down (I > see an update of python-pygobject happened in that timeframe). I have no idea as well. Probably something changed after python-team branch merge. > > Thanks for reading this far! > > Thomas Regards, Rutherther

Re: Hunk fails to apply: source code is read only.

2025-05-05 Thread Rutherther
ing rejects to file config/accounts.go.rej > > >It seems that the patch doesn't apply because the file is read-only. I am not >sure what I am doing wrong. I dont think so. Seems that the hunk doesn't apply cleanly. So you will have to adapt your patch. You can use --keep-failed to keep the source in /tmp when it fails. Then make a new patch / adapt this one until it apples with patch command. Regards Rutherther

Re: Help! I just killed my Guix System!

2025-04-10 Thread Rutherther
Hi Tanguy, On April 10, 2025 9:12:43 AM GMT+02:00, Tanguy Le Carrour wrote: >Hi, > > >On Mon Apr 7, 2025 at 10:22 AM CEST, Rutherther wrote: >> "Tanguy Le Carrour" writes: >>> TL;DR my Guix System refuses to boot and I’m left with a "scheme scree

Re: Reproducibility of guix shell container across different host OS

2025-05-03 Thread Rutherther
difference in store closure of the shell (meaning all paths referenced by the shell), you're likely not debugging an issue of Guix, but of something else. Ie. the library you're using could be using different random implementations based on something that is available on one distro, but not on the other. Regards Rutherther

Re: Reproducibility of guix shell container across different host OS

2025-05-03 Thread Rutherther
based on that change the results... of course in reality it's going to be something more subtle. Regards Rutherther

Re: Reproducibility of guix shell container across different host OS

2025-05-03 Thread Rutherther
Timothee Mathieu writes: > Thanks, > > For checking that the environments were the same (point 1) from before), I > tried both methods. Both gave me that the two environments (i.e. all the > packages and dependencies) are exactly the same: the diff of the two guix > graph was empty and the gu

Re: Lost SSH popup / agent with latest GNOME / Re: ssh keys & gnome-keyring >= 46

2025-03-28 Thread Rutherther
ow if you need further assistance with making this package. > > [1] https://wiki.archlinux.org/title/GNOME/Keyring#SSH_keys > > Best regards > Hugo Regards, Rutherther

guix system image -t efi-raw failing to build on grub-bios-setup

2025-03-22 Thread Rutherther
, or is it just broken? Attaching the log and the config. The error happens with the disk-image derivation. I am building for x86_64-linux. The command is: guix system image -t efi-raw ./simple.scm. Regards, Rutherther INFO: cmd: "mkdir -p "/tmp/guix-build-disk-image.drv-0/tmp""

Re: Adding a library directory to Guix home reconfigure causes everything to be built from source

2025-05-12 Thread Rutherther
hat means it should be `-L ~/my-lib`. Regards Rutherther

Re: Guix system container service in operating-system definition

2025-05-10 Thread Rutherther
re you give it the operating-system definition you want. I think similar thing should be achievable with containers, with container-script procedure. But I don't think there are examples for that in Guix. Depending on why you want this, also note that there is least authority wrapper for security. Regards Rutherther

Re: Recover Guix after accidentally overwriting the ESP

2025-05-13 Thread Rutherther
em/boot modprobe.blacklist=usbmouse,usbkbd initrd /var/guix/profiles/system/initrd ``` You might have to get realpaths of the files, I am not sure these symlinks will work. You can do that from the other system you have installed. Specifically `realpath file-here` on those files. Rutherther

Re: Native compiling Emacs packages

2025-05-18 Thread Rutherther
gnu/store/vgs5nsgjf2n5x8f3bfavqxq6srnmz2fk-emacs-s-1.13.0 > >What am I missing? Does `package-mapping' not change propagated-inputs? Does >anyone have a working setup they can share? It definitely does, otherwise you wouldn't get any of the propagated inputs changed. Are you sure you don't have the emacs package emacs-lemon added from any of the services? Rutherther

Re: KDE's application runners do not pick up applications I explicitly installed in Guix System

2025-05-27 Thread Rutherther
ications/*.desktop' | grep > emacs > /run/current-system/profile/share/applications/*emacs*.desktop So the desktop files are there. Is /run/current-system/profile/share in XDG_DATA_DIRS environment variable? It has to be, specifically in the environment of your desktop environment, so checking just in shell might not be enough. > > But the user-installed apps are not picked up by either krunner of Kickoff > launcher. > > Any pointers are appreciated. > > Regards, > Jayesh Bhoot Rutherther

Re: Installing Docker

2025-05-27 Thread Rutherther
us-root-service-type provides dbus-system. You will also need elogind service. That is provided either by elogind-service-type or seatd-service-type. Seatd being the more minimalistic one. > > What am I missing? > > Thank you, > Konrad Rutherther

Re: Can I make guix source packages for electron/javafx GUI applications?

2025-05-23 Thread Rutherther
build systems, but > I didn't see a build system for electron or javafx. Rutherther

Re: Installing Docker

2025-05-31 Thread Rutherther
y happen on new installations upon first pull without relog, but user is warned by the output of guix pull. > > Andreas Rutherther

Re: Capturing ethernet device (vfio-pci)

2025-06-01 Thread Rutherther
Hi Konrad, Konrad Neuwirth writes: > Dear reader, > > I am trying to set up a qemu virtual machine to capture an ethernet device on > my little PC. My understanding is that this is possible with vfio-pci. > Googling around has lead me to the following configuration being added to > config.

Re: Capturing ethernet device (vfio-pci)

2025-06-03 Thread Rutherther
l module not found "vfio_virqfd" > "/gnu/store/wi539xkgd3mj07as4hv4n3jsxzmpd3pl-linux-libre-6.14.8/lib/modules” This is expected, vfio_virqfd has been added to vfio module starting Linux 6.2. Rutherther

Re: Installing Docker

2025-05-31 Thread Rutherther
Andreas Enge writes: > Am Sat, May 31, 2025 at 11:13:00AM +0200 schrieb Rutherther: >> > executing the command. So if you executed it as a normal user, you >> > either need to run "sudo guix pull" as that user >> This is not true, if you do sudo guix syste

Re: / or Root partition not accessible if encrypted

2025-06-17 Thread Rutherther
Hello Have you tried typing your encryption password with enter at the end after your screen goes blank? Rutherther On June 16, 2025 12:15:30 AM GMT+02:00, Kieran Brandle wrote: >Hello!! > >—- >MY LAPTOP AND ITS TWEAKS BEFORE EXPLAINING: > >Dell Latitude E6400 >C

Re: Cannot GC a path (is alive) for unclear reason

2025-06-20 Thread Rutherther
Okay, I went digging a bit today, and found out this was because --gc-keep-derivations default value is yes, and the output path of the drv file is still present & gc rooted, so it can't be removed. This was clear from output produced by starting guix-daemon --debug. Rutherther &q

Re: Guix system reconfigure and avoiding unwanted package upgrade

2025-06-20 Thread Rutherther
ed the online dev documentation and the return of > `guix system --help'. > > > > Best regards Rutherther

Cannot GC a path (is alive) for unclear reason

2025-06-16 Thread Rutherther
x gc: error: cannot delete path `/gnu/store/g5v7rqy4il0z1wnxiqwij3wd08rfhy52-grub.cfg.drv' since it is still alive --- Rutherther

Re: Why does guix home need 700 MB of cache ?

2025-06-14 Thread Rutherther
w to share the checkouts between multiple users using bind mounts, see <https://ruther.ditigal.xyz/posts/shared-guix-checkout/>. The only downside is that users could potentially corrupt the cache for other if they were bad actors. Rutherther > >Thanks in advance. > >Edouard.

Re: Guix home service from single Python script

2025-06-08 Thread Rutherther
e is no GUIX_PYTHONPATH set. So python doesn't know any modules, this is expected. After wrapping is done, it should work to execute the py file directly. Note that for wrapping to work properly, you will need to switch to a shebang (just put #!/usr/bin/env python3 and it will get replaced), so that your script is executable directly (and add the executable flag if it isn't there currently) > > Regards, > Ben Rutherther

Re: Guix system reconfigure and avoiding unwanted package upgrade

2025-06-21 Thread Rutherther
Sébastien Gendre writes: > Thank you for your reply. > > > Rutherther writes: > >> This is not possible with guix system easily. Guix channel commonly keeps >> only one version of a package in current source code, so you cannot just >> specify older version to

Re: Why does guix home need 700 MB of cache ?

2025-06-15 Thread Rutherther
Hi Edouard, Edouard Klein writes: > Hi Rutherther ! > > > Thank you for the explanation. I think there's an optimization to be > made where we use only the history from the currently installed version > on, not the full history, and then remove previous commits after an

Re: GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-03 Thread Rutherther
re/99p9q3g8g7gri8klhkj983hjxn6fi215-profile/etc/profile [ruther:/tmp/b/squashfs-root]└2 % > printenv GUIX_PYTHONPATH /gnu/store/99p9q3g8g7gri8klhkj983hjxn6fi215-profile/lib/python2.7/site-packages:/gnu/store/99p9q3g8g7gri8klhkj983hjxn6fi215-profile/lib/python3.11/site-packages ``` So it seems to me apptainer is doing something strange here with the etc/profile file. Rutherther

Re: GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-03 Thread Rutherther
stead, but I think it will be up to discussion with people who know more about this file. Apologies for wrong lead once more, Rutherther

Re: Capturing ethernet device (vfio-pci)

2025-06-11 Thread Rutherther
rough the hw completely to be managed by the gues os. That means the guest os would have to manage the hw completely, including load of the fw. Please anyone do feel free to correct me Rutherther >Okay. I seem to be making progress, but I’m still a neophyte. > >I have a Asus NUC that c

Re: How to use geiser with guix shell -C?

2025-06-11 Thread Rutherther
Hi Tomas, You probably need to add guile-geiser to the shell as well, to add the geiser guile package in the corresponding search path. Possibly also other geiser related packages. Cant check if this will resolve the issue completely now, though. Rutherther On June 11, 2025 2:51:49 PM GMT

Re: New to Guix System, have a few questions

2025-06-11 Thread Rutherther
th classes in oop languages. You can use inherit, but it is just copying the fields from the record you specify, as default values to the fields of your new instance of record. > > >I'm sorry if my questions seems to have obvious answers to experimented Guix >system users. I'm very new to Guix system. Until now, I've mostly >explored the Guix package manager. > > >Best regards > >--- >Gendre Sébastien Rutherther

Re: Cannot include iproute2 in --emulate-fhs container

2025-07-08 Thread Rutherther
works fine, but for my use case, I need to be in >> an FHS-emulating container. Any idea how to fix this? > > >>Rutherther writes: >> >> I think this is a bug of `(@ (guix scripts environment) >> launch-environment/container)` that doesn't take into

Re: Secure access to derivations in /gnu/store

2025-07-08 Thread Rutherther
Hello Sébastien Sébastien Gendre writes: > Hi Rutherther, > > Rutherther writes: > >> Yes, Guix for managing the system and home is typically used like this: >> You first build a file in the store, and then symlink that file to home. >> >> There are o

Re: Guix ISO on USB not available in boot menu.

2025-07-06 Thread Rutherther
issue. > > I can provide more info if needed. Are you sure you don't have secure boot enabled? Regards Rutherther

Re: Cannot include iproute2 in --emulate-fhs container

2025-07-06 Thread Rutherther
e files if they exist already before the script tries to create them. Rutherther

Re: Secure access to derivations in /gnu/store

2025-07-06 Thread Rutherther
sers, the file is always owned by the user that runs the guix-daemon. Regards Rutherther > > Does it the same with configs files generated by Guix System ? > > > Have a nice day.

Re: No sound problem - how to set kernel module options

2025-07-15 Thread Rutherther
ifically you will want to set snd-intel-dspcfg.dsp_driver=1 > > Rutherther

Re: Capturing ethernet device (vfio-pci)

2025-07-16 Thread Rutherther
it the bootentry in grub with 'e'. There you can see the current arguments to check if they are what you expect, and also add / modify them. Rutherther > >I’m getting to … > >00:14.3 Network controller [0280]: Intel Corporation Meteor Lake PCH CNVi WiFi >[8086:7e40

Re: Guix pull times out on non-default channels

2025-07-18 Thread Rutherther
n't say much without it... > > > > I'd appreciate any advice, > > Gabor Rutherther

Re: Guix pull does not work on foreign distribution

2025-07-18 Thread Rutherther
guix-daemon systemd service or > rebooting does not help, and guix pull itself displays no errors (although it > is unusually slow). > So you have read the output of the command and didn't get any warning, is that right? > > > I would appreciate any advice, > > Gabor Gero Rutherther

Re: Guix System on a VM: Impossible to switch to root

2025-07-23 Thread Rutherther
Hello, So can you log in as root directly in tty? Since this is not with all generations, I suggest running guix gc --verify=contents to check for corruptions in the store, this behavior sounds a bit impossible in normal circumstances. But I might just be missing something. Rutherther On

Re: Broken system! Reconfigure without a working system generation?

2025-07-28 Thread Rutherther
Simen Endsjø writes: > Rutherther writes: > >> Hi Simen, >> >> Simen Endsjø writes: >> >>> I broke my system real bad! >>> >>> I suspect a disk corruption during kexec boot after a reconfigure. I got a >>> blank system deriva

Re: Broken system! Reconfigure without a working system generation?

2025-07-28 Thread Rutherther
nt lose any data, but still probably better to make a backup if you dont have any. Rutherther

Re: How does Guix module loading work?

2025-08-03 Thread Rutherther
he search path (guile) and a package that activates it (guile-mqtt). Rutherther > > > guix shell guile-mqtt -- guile -c "(use-modules (mosquitto client)) > (display \"Module loaded successfully\n\")" > > Backtrace: > In ice-9/boot-9.scm: >   1752:10 13 (wi

Re: guix home: no code for module (gnu home services dotfiles)

2025-08-03 Thread Rutherther
t; . $HOME_ENVIRONMENT/setup-environment > > $HOME_ENVIRONMENT/on-first-login > > And my $PATH on Ubuntu is this. > > > $ echo $PATH > > > /gnu/store/gpr0c9ravibfagir1hp90akgjis3l6m2-profile/bin:/home/me/.guix-home/profile/bin:/home/me/.config/guix/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > > What am I missing? Rutherther