mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: Avoid cycle involving (gnu packages pkg-config).
Fixes a regression introduced in 7a26aee61bbbd8e37745ce13433545333eac4505 whereby (gnu packages pkg-config) would be caught in a cycle, leading to miscompilation of package modules, in turn leading to failure to compute the Guix derivation with exceptions like: 1. &package-input-error: package: #<package libgc@8.2.4 7fee96c4dc60> input: ("_" #<syntax-transformer pkg-config>) * gnu/packages/pkg-config.scm: Autoload (gnu packages check). Change-Id: I624e701a0c411b6f3d9ad5e10dca6ad7cf552be4
This commit is contained in:
parent
ce7794992d
commit
839285dd5b
1 changed files with 7 additions and 1 deletions
|
@ -29,7 +29,13 @@ (define-module (gnu packages pkg-config)
|
|||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system trivial)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages check)
|
||||
|
||||
;; Note: Because this module defines the 'pkg-config' macro, it cannot be
|
||||
;; caught in a cycle with other package modules or the macro wouldn't be
|
||||
;; visible at the time those other modules are compiled. To fulfill that
|
||||
;; constraint, load (gnu packages check) lazily.
|
||||
#:autoload (gnu packages check) (atf kyua)
|
||||
|
||||
#:use-module (guix memoization)
|
||||
#:export (pkg-config))
|
||||
|
||||
|
|
Loading…
Reference in a new issue