Re: How to handle package udev rules?

2022-01-05 Thread SeerLite
On 12/13/21 04:48, Γυψ wrote: Dear Danny, thanks! That lead me on the right track. In fact it's just sudo -E guix ... Hi! I recommend avoiding the use of sudo -E, as it will make guix system use your non-root user's $HOME/.cache to write its compiled files, which might become a problem in

Re: How to handle package udev rules?

2021-12-17 Thread Development of GNU Guix and the GNU System distribution.
Hello, Alexander Asteroth writes: > Now that the package is working and after I read the guidelines for > contributing a package description I was wondering one thing: > > guix is not only guix system but also running as a packet manager on > other distros. But a package developed for guix

Re: How to handle package udev rules?

2021-12-17 Thread Alexander Asteroth
Now that the package is working and after I read the guidelines for contributing a package description I was wondering one thing: guix is not only guix system but also running as a packet manager on other distros. But a package developed for guix system, has to handle files like udev rule files

Re: How to handle package udev rules?

2021-12-13 Thread Γυψ
Dear Danny, thanks! That lead me on the right track. In fact it's just > sudo -E guix ... without the Varibale name. "-E" passes the whole environment to sudo. Now the package works (at least on my system) and the Logitech presenter can be used under EXWM+xcompmgr under guix-system - Great! I

Re: How to handle package udev rules?

2021-12-12 Thread Danny Milosavljevic
Hi, On Sun, 12 Dec 2021 21:58:14 +0100 g...@member.fsf.org wrote: > If I change my operating-system config to inlcude udev-rules from > package "projecteur" everything works fine - at least if I do it as a > regular user. As soon as I sudo the guix system reconfigure command the > package is

Re: How to handle package udev rules?

2021-12-12 Thread gyps
Dear Danny, dear Tobias, thanks for the hints which immediately solved my issue. It now compiles and everyting is fine but one thing. If I change my operating-system config to inlcude udev-rules from package "projecteur" everything works fine - at least if I do it as a regular user. As soon as I

Re: How to handle package udev rules?

2021-12-12 Thread Danny Milosavljevic
Hello Alexander, On Sun, 12 Dec 2021 13:12:50 +0100 Alexander Asteroth wrote: > I tried to import the libgudev module but that that only results in the > package wanting to write to another write-protected directory from the > store. It's supposed to write those to $output/lib/udev/rules.d

Re: How to handle package udev rules?

2021-12-12 Thread Tobias Geerinckx-Rice
Alexander, Alexander Asteroth 写道: The question now is, what is the correct guix-way to implement this: Not as complicated as you fear! udev rules aren't special. Just install them to the package's own /lib/udev/rules.d directory. If the build system tries to write to another package's

How to handle package udev rules?

2021-12-12 Thread Γυψ
Sorry, I sent this email from a non-subscribed account and therefore it probably wasn't sent (if you receive it twice sorry for that). Dear all, I'm trying to build my first guix package and so far, after a lot of trial and error to find the right packages providing the necessary cmake

How to handle package udev rules?

2021-12-12 Thread Alexander Asteroth
Dear all, I'm trying to build my first guix package and so far, after a lot of trial and error to find the right packages providing the necessary cmake functionality I managed to get the package to compile. (up to the point where the install script want's to copy some udev rules file) The