aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-07 15:07:36 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-07 15:08:05 -0400
commit0169aee33e154c1fa8b299c7f126f3e94a8dc9a4 (patch)
tree23c37c430eebf1a627bc70f5b0a1f603997951c0 /gnu
parent00e843050012961e9cc41b003ea9271eab718541 (diff)
downloadguix-0169aee33e154c1fa8b299c7f126f3e94a8dc9a4.tar.gz
guix-0169aee33e154c1fa8b299c7f126f3e94a8dc9a4.zip
tests: xvnc: Do not use specification->package in OS definition.
Doing so would cause the extra package dependencies to not be correctly registered as dependencies, which would lead to a silent failure when attempting to load or byte compile the module at the time guix build itself (e.g., when running 'guix pull'). * gnu/tests/vnc.scm (%xvnc-os) [packages]: Turn the the specification->package declaration into a list of package objects.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/tests/vnc.scm23
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/tests/vnc.scm b/gnu/tests/vnc.scm
index 34c2db1203..5c4bd43fa3 100644
--- a/gnu/tests/vnc.scm
+++ b/gnu/tests/vnc.scm
@@ -22,6 +22,10 @@
#:use-module (gnu packages)
#:use-module (gnu packages ocr)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages ratpoison)
+ #:use-module (gnu packages vnc)
+ #:use-module (gnu packages xorg)
#:use-module (gnu services)
#:use-module (gnu services dbus)
#:use-module (gnu services desktop)
@@ -59,16 +63,15 @@
(supplementary-groups '("wheel" "netdev"
"audio" "video")))
%base-user-accounts))
- (packages (append (map specification->package
- '("dbus" ;for dbus-run-session
- "dconf"
- "gnome-settings-daemon" ;for schemas
- "ratpoison"
- "tigervnc-client"
- "xterm"))
- %base-packages
- (list `(,glib "bin")
- glib)))
+ (packages (cons* dbus ;for dbus-run-session
+ dconf
+ `(,glib "bin")
+ glib
+ gnome-settings-daemon ;for schemas
+ ratpoison
+ tigervnc-client
+ xterm
+ %base-packages))
(services (cons*
(service openssh-service-type (openssh-configuration
(permit-root-login #t)