From: phodina via <help-guix@gnu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Installing file outside package in /etc
Date: Sat, 24 Apr 2021 09:30:14 +0000 [thread overview]
Message-ID: <dVfwn-h08UkYk38jgrhlhw3bTvyzwf7l92F9QlO6JK7dV-d8xiIbLENKexKT44TqzDWgd17n5PWFm2YPjrS8NQmuTPoG4y2KK25lEYceAaM=@protonmail.com> (raw)
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.
next reply other threads:[~2021-04-24 9:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 9:30 phodina via [this message]
2021-04-24 14:44 ` Installing file outside package in /etc Sergiu Ivanov
2021-04-28 11:02 ` Utkarsh Singh
2021-04-28 11:05 ` Sergiu Ivanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dVfwn-h08UkYk38jgrhlhw3bTvyzwf7l92F9QlO6JK7dV-d8xiIbLENKexKT44TqzDWgd17n5PWFm2YPjrS8NQmuTPoG4y2KK25lEYceAaM=@protonmail.com' \
--to=help-guix@gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).