unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 44437@debbugs.gnu.org
Cc: musics@tutanota.com
Subject: bug#44437: Best way to install package in Guix System
Date: Wed, 4 Nov 2020 14:36:23 +0100	[thread overview]
Message-ID: <20201104143623.555e7a79@scratchpost.org> (raw)
In-Reply-To: <MLH8G-n--3-2@tutanota.com>

[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]

Hi,

On Wed, 4 Nov 2020 08:25:05 +0100 (CET)
musics--- via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

> What is the best way to install a package in Guix System? For installation (network-manager-openvpn), I put "guix install network-manager-openvpn" then "guix pull" and then "sudo guix system reconfigure /etc/config.scm" to complete the installation, but the package Not installed!

That is the correct way to install a package into your default user profile.

If you want to install a system service, however, that needs to be declared in
/etc/config.scm instead.

In this case, the operating-system's network-manager-service-type has a
<network-manager-configuration> record containing a field VPN-PLUGINS which
should list the packages you want as VPN plugins.  The default is the empty
list.

If your "services" field in operating-system in /etc/config.scm has
%desktop-services (which is likely), then you need to replace the
text %desktop-services by

            (modify-services %desktop-services
              (network-manager-type config =>
                (network-manager-configuration
                  (inherit config)
                  (vpn-plugins
                   (list network-manager-openvpn)))))

after you added

(use-package-modules gnome)

at the top of /etc/config.scm .

After that, invoke

  sudo guix system reconfigure /etc/config.scm

.

I checked and saw that this is documented in our info manual.

However, long term it would be better if the system installer or a system
configurer could do that via a text or graphical user interface.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2020-11-04 13:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04  7:25 bug#44437: Best way to install package in Guix System musics--- via Bug reports for GNU Guix
2020-11-04 13:36 ` Danny Milosavljevic [this message]
2020-11-04 13:48 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-11-04 14:50 ` musics--- via Bug reports for GNU Guix
2020-11-04 15:56   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-11-04 16:48   ` Danny Milosavljevic
2020-11-04 16:55 ` musics--- via Bug reports for GNU Guix
2020-11-04 17:20 ` musics--- via Bug reports for GNU Guix
2020-11-04 18:44 ` musics--- via Bug reports for GNU Guix
2020-11-04 19:44   ` Danny Milosavljevic
2020-11-04 20:15 ` bug#44437: musics--- via Bug reports for GNU Guix
2020-11-04 20:39   ` bug#44437: Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-11-04 20:46   ` bug#44437: Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-11-04 20:47 ` bug#44437: musics--- via Bug reports for GNU Guix
2020-11-04 21:09 ` bug#44437: musics--- via Bug reports for GNU Guix
2020-11-05 10:38 ` bug#44437: musics--- via Bug reports for GNU Guix
2020-11-06 15:01 ` bug#44437: musics--- via Bug reports for GNU Guix
2020-11-06 15:14 ` bug#44437: musics--- via Bug reports for GNU Guix

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=20201104143623.555e7a79@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=44437@debbugs.gnu.org \
    --cc=musics@tutanota.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).