aboutsummaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 025834328c..cb6e719ca6 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -325,7 +325,9 @@ VERSION is the target version of the boot-parameters record."
;; field contains a duplicated nss-certs packages.
(let* ((packages (%operating-system-packages os))
(nss-certs-packages (sort (filter (lambda (p)
- (string=? "nss-certs" (package-name p)))
+ (and (package? p)
+ (string=? "nss-certs"
+ (package-name p))))
packages)
(lambda (x y)
;; Sort from newer to older versions.
¨s