[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: lint: Prevent inlining of 'package-vulnerabilities'.
From: |
guix-commits |
Subject: |
07/09: lint: Prevent inlining of 'package-vulnerabilities'. |
Date: |
Mon, 27 Mar 2023 12:52:23 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ee0ef0b58ff3ba4b6b2aa81246a50ab9bf020292
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Mar 27 18:48:07 2023 +0200
lint: Prevent inlining of 'package-vulnerabilities'.
* guix/lint.scm (package-vulnerabilities): Prevent inlining.
---
guix/lint.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/lint.scm b/guix/lint.scm
index 3ed7fd6e4d..9eece374ff 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -1485,6 +1485,9 @@ the NIST server non-fatal."
(package-version package))))
((force lookup) name version)))))
+;; Prevent Guile 3 from inlining this procedure so we can mock it in tests.
+(set! package-vulnerabilities package-vulnerabilities)
+
(define* (check-vulnerabilities package
#:optional (package-vulnerabilities
package-vulnerabilities))
- branch master updated (da410b45a9 -> c9af27d4ca), guix-commits, 2023/03/27
- 04/09: substitute: Gracefully handle TLS termination while fetching narinfos., guix-commits, 2023/03/27
- 05/09: gnu: hevea: Update to 2.36., guix-commits, 2023/03/27
- 01/09: services: syslog: Add 'configuration' action., guix-commits, 2023/03/27
- 06/09: syscalls: 'getxattr' throws upon error., guix-commits, 2023/03/27
- 03/09: services: ntpd: Add 'configuration' action., guix-commits, 2023/03/27
- 09/09: lint: Append "/info/refs" to git-reference-url., guix-commits, 2023/03/27
- 02/09: services: network-manager: Add 'configuration' action., guix-commits, 2023/03/27
- 07/09: lint: Prevent inlining of 'package-vulnerabilities'.,
guix-commits <=
- 08/09: gnu: Add atftp., guix-commits, 2023/03/27