From: George Clemmer <myglc2@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: Font installed in non-default profile doesn't appear.
Date: Tue, 08 May 2018 20:04:47 -0400 [thread overview]
Message-ID: <87bmdp66e8.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
In a "headless" vm-image (sysi29.scm, attached), "font-dejavu" installed
by manifest (attached) into the "empty" default profile ...
'guix package -m manifest'
... appears in the emacs 'M-x menu-set-font' choice box. But it doesn't
appear with the same manifest installed in the "foo" profile ...
'guix package -p foo -m manifest'
... and run this way ...
source foo/etc/profile
emacs $@ --eval="(let ((guix-env \"foo\")) (when (and guix-env (require
(quote guix-emacs) nil t)) (guix-emacs-autoload-packages guix-env)))"
IIUC it shouldn't make a difference, but I also tried 'fc-cache -f'
before emacs to no effect.
Am I missing something?
TIA - George
PS: For details please see
default profile >> test0.sh.log
foo profile >> test.sh.log
[-- Attachment #2: manifest --]
[-- Type: application/octet-stream, Size: 362 bytes --]
;;; -*-Scheme-*-
;;; manifest
(define usr-packages
'(
"aspell"
"aspell-dict-en"
"emacs"
"emacs-debbugs"
"emacs-guix"
"font-dejavu"
"fontconfig"
"git"
"info-reader"
"isync"
"magit"
"make"
"man-db"
"mu"
"nss-certs"; isync req
))
(use-modules (gnu packages))
(specifications->manifest usr-packages)
[-- Attachment #3: sysi29.scm --]
[-- Type: application/octet-stream, Size: 1807 bytes --]
;; -*-Scheme-*-
;;; minimal 'guix system vm-image' config ~ sys.scm
(define sys-packages
'(
"cups"
"git"
"glibc-utf8-locales"
"nss-certs"
"openssh"
"screen"
))
(use-modules (gnu))
(use-modules (gnu packages))
(use-modules (gnu system nss))
(use-service-modules
avahi
networking ; dhcp-client-service
ssh ; openssh-service-type
)
(define %my-services
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
(inherit config)
(substitute-urls (list "http://g1.local:8080"
"https://hydra.gnu.org"))))))
(operating-system
(host-name "sysi29")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (grub-configuration (target "/dev/sda")))
(file-systems (cons (file-system
(device "g1sd")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
(users (cons*
(user-account
(name "g1")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/g1"))
(user-account
(name "al")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/al"))
%base-user-accounts))
(packages (append (map specification->package sys-packages)
%base-packages))
(services (cons*
(dhcp-client-service)
(service openssh-service-type
(openssh-configuration
(x11-forwarding? #t)
(permit-root-login #t)
(allow-empty-passwords? #t)
(authorized-keys
`(
("g1" ,(local-file "glc.pub"))
("al" ,(local-file "glc.pub"))
("root" ,(local-file "glc.pub"))))))
(avahi-service)
(ntp-service)
(extra-special-file "/etc/gen/sysi29.scm"
(local-file "sysi29.scm"))
%my-services))
(name-service-switch %mdns-host-lookup-nss))
[-- Attachment #4: test0.sh.log --]
[-- Type: application/octet-stream, Size: 1677 bytes --]
nemo:~ $ ssh g1@sysi29.local
Last login: Tue May 8 19:04:33 2018 from fe80::1859:7246:9720:20aa%eth0
g1@sysi29 [/run/current-system/profile]~$ ./test0.sh
+ cd
+ echo /home/g1
/home/g1
+ echo
+ guix package -I
+ echo
+ cat manifest
;;; -*-Scheme-*-
;;; manifest
(define usr-packages
'(
"aspell"
"aspell-dict-en"
"emacs"
"emacs-debbugs"
"emacs-guix"
"font-dejavu"
"fontconfig"
"git"
"info-reader"
"isync"
"magit"
"make"
"man-db"
"mu"
"nss-certs"; isync req
))
(use-modules (gnu packages))
(specifications->manifest usr-packages)
+ echo
+ guix package -m manifest
installing new manifest from 'manifest' with 15 entries
15 packages in profile
The following environment variable definitions may be needed:
export PATH="/home/g1/.guix-profile/bin:/home/g1/.guix-profile/sbin${PATH:+:}$PATH"
export ASPELL_DICT_DIR="/home/g1/.guix-profile/lib/aspell"
export GIT_SSL_CAINFO="/home/g1/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export GIT_EXEC_PATH="/home/g1/.guix-profile/libexec/git-core"
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
+ echo
+ emacs
** (emacs-25-3:27591): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(emacs-25-3:27591): Gtk-WARNING **: Could not find the icon 'list-remove-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
g1@sysi29 [/run/current-system/profile]~$
[-- Attachment #5: test.sh.log --]
[-- Type: application/octet-stream, Size: 3722 bytes --]
nemo:~ $ ssh g1@sysi29.local
Last login: Tue May 8 19:00:48 2018 from fe80::1859:7246:9720:20aa%eth0
g1@sysi29 [/run/current-system/profile]~$ ./test.sh
+ cd
+ echo /home/g1
/home/g1
+ echo
+ guix package -I
+ echo
+ guix package -p foo -I
+ echo
+ cat manifest
;;; -*-Scheme-*-
;;; manifest
(define usr-packages
'(
"aspell"
"aspell-dict-en"
"emacs"
"emacs-debbugs"
"emacs-guix"
"font-dejavu"
"fontconfig"
"git"
"info-reader"
"isync"
"magit"
"make"
"man-db"
"mu"
"nss-certs"; isync req
))
(use-modules (gnu packages))
(specifications->manifest usr-packages)
+ echo
+ guix package -p foo -m manifest
installing new manifest from 'manifest' with 15 entries
15 packages in profile
The following environment variable definitions may be needed:
export PATH="foo/bin:foo/sbin${PATH:+:}$PATH"
export ASPELL_DICT_DIR="foo/lib/aspell"
export INFOPATH="foo/share/info${INFOPATH:+:}$INFOPATH"
export GIT_SSL_CAINFO="foo/etc/ssl/certs/ca-certificates.crt"
export GIT_EXEC_PATH="foo/libexec/git-core"
export MANPATH="foo/share/man${MANPATH:+:}$MANPATH"
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
+ echo
+ source foo/etc/profile
++ export PATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/bin:/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/sbin:/home/g1/bin:/home/g1/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin
++ PATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/bin:/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/sbin:/home/g1/bin:/home/g1/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin
++ export ASPELL_DICT_DIR=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/lib/aspell
++ ASPELL_DICT_DIR=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/lib/aspell
++ export INFOPATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/share/info:/run/current-system/profile/share/info:/home/g1/.guix-profile/share/info:/run/current-system/profile/share/info
++ INFOPATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/share/info:/run/current-system/profile/share/info:/home/g1/.guix-profile/share/info:/run/current-system/profile/share/info
++ export GIT_SSL_CAINFO=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/etc/ssl/certs/ca-certificates.crt
++ GIT_SSL_CAINFO=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/etc/ssl/certs/ca-certificates.crt
++ export GIT_EXEC_PATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/libexec/git-core
++ GIT_EXEC_PATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/libexec/git-core
++ export MANPATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/share/man:/run/current-system/profile/share/man:/home/g1/.guix-profile/share/man:/run/current-system/profile/share/man
++ MANPATH=/gnu/store/qcx68bahsqd3n7pb8asr1fakwj7fzyyx-profile/share/man:/run/current-system/profile/share/man:/home/g1/.guix-profile/share/man:/run/current-system/profile/share/man
+ echo
+ exec emacs '--eval=(let ((guix-env "foo")) (when (and guix-env (require (quote guix-emacs) nil t)) (guix-emacs-autoload-packages guix-env)))'
** (emacs-25-3:27536): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(emacs-25-3:27536): Gtk-WARNING **: Could not find the icon 'list-remove-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
g1@sysi29 [/run/current-system/profile]~$
next reply other threads:[~2018-05-09 0:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-09 0:04 George Clemmer [this message]
2018-05-09 17:34 ` Font installed in non-default profile doesn't appear Alex Kost
2018-05-09 23:07 ` George Clemmer
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=87bmdp66e8.fsf@gmail.com \
--to=myglc2@gmail.com \
--cc=help-guix@gnu.org \
/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).