help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing file outside package in /etc


From: phodina
Subject: Installing file outside package in /etc
Date: Sat, 24 Apr 2021 09:30:14 +0000

I'm creating a package for application which needs to install file outside of 
the derivation directory.

The file in question is /etc/sudoers.d but it can be generalized for other 
things like udev etc. I understand this won't be trivial since it modifies the 
system and will probably require some wrapper with higher privileges. However, 
I could not find any section in the Guix reference Manual.

The file is installed in the install phase. Is it the right phase or shall I 
use different? If so how do I patch it?

Also if I compare the contents of GuixSD to NixOS, then the NixOS has more 
files linked to /etc/static/ which then links to /nix/store. Could somebody 
please explain what were/are the thoughts behind this?

Kind regards
Petr Hodina

Sent with [ProtonMail](https://protonmail.com) Secure Email.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]