GNU bug report logs -
#44437
Best way to install package in Guix System
Previous Next
Reported by: musics <at> tutanota.com
Date: Wed, 4 Nov 2020 13:15:02 UTC
Severity: normal
Done: musics <at> tutanota.com
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
On Wed, 4 Nov 2020 08:25:05 +0100 (CET)
musics--- via Bug reports for GNU Guix <bug-guix <at> 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.
[Message part 2 (application/pgp-signature, inline)]
This bug report was last modified 4 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.