Re: Apply a patch to a given package definition

2024-08-19 Thread Ian Eure
Hi Christoph, Christoph Buck writes: Hi! How do i define a new package which is just a variation of a given package defined in guix? In my concrete example i try to add a new board definition file via a patch to the u-boot bootloader. What i come up with, looks like this: ``` ;; Define

Re: Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Ian Eure
Hi Oleander, Oleander via writes: How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? I don’t believe there’s a reasonable way to do what you want. I think your best option is to configure your sudoers file

Re: Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Oleander via
ps: without running guix pull with root privileges. Original Message On Aug 19, 2024, 20:03, Oleander wrote: > How can I enter the sudo password before `guix pull` runs when updating with > `guix pull && sudo guix system reconfigure config.scm`? > > `sudo sh -c "su -c 'guix pul

Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Oleander via
How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? `sudo sh -c "su -c 'guix pull' $USER && guix system reconfigure config.scm"` returns: "hint: After setting PATH, run hash guix to make sure your shell refers to

LXDE startlxde is resetting XDG_DATA_DIRS on Debian 12! (was Re: customize Debian 11 evironment in lightdm...)

2024-08-19 Thread Giovanni Biscuolo
Hello, I'm following up a very old thread on debian-user (May 2022) since I finally understand what is _resetting_ my XDG_DATA_DIRS... oh my!!! To help-guix: Giovanni Biscuolo writes: > I'm trying to customize my user environment when using the lightdm > display manager (then the LXDE desktop

Re: Do you guix pull for the root account on a single user machine running Guix System if the root user is never used?

2024-08-19 Thread Oleander via
Got it. Thank you Raghav! Original Message On Aug 18, 2024, 11:15, Raghav Gururajan wrote: > Oleander! >> I know that root is not required to run guix pull and and sudo > guix >> system reconfigure. Is it also not necessary to update the root >> > definitions on Guix System? >

Re: Always mount external disk

2024-08-19 Thread Ignas Lapėnas
Hi, Best example I could find was under guix/tests/system.scm, on how maybe the service is used. Unsure. > ;; Make sure that mapped devices with at least one needed-for-boot user are > ;; handled exclusively from the initrd. See . > (append-map file-system-dependen

Apply a patch to a given package definition

2024-08-19 Thread Christoph Buck
Hi! How do i define a new package which is just a variation of a given package defined in guix? In my concrete example i try to add a new board definition file via a patch to the u-boot bootloader. What i come up with, looks like this: ``` ;; Defines a package ub which will compile u-boot for th