gnu: libpciaccess-static: Keep in same module as ‘libpciaccess’.

Fixes a bug introduced in beb9ad2cf7 where
‘guix pull’ would fail to build guix-system-tests.drv:

  gnu/packages/hurd.scm:317:13: error: libpciaccess: unbound variable

* gnu/packages/hurd.scm (libpciaccess-static): Move to…
* gnu/packages/xorg.scm (libpciaccess-static): … here.
Add ‘name’ field.

Change-Id: I4ec6a800360e82a5bc28f4e0b6c51772108fc3b1
This commit is contained in:
Ludovic Courtès 2025-02-04 16:52:06 +01:00
parent 25a67a8d3f
commit 9a6a7c9ea0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 11 additions and 11 deletions

View file

@ -311,17 +311,6 @@ Hurd-minimal package which are needed for both glibc and GCC.")
(define %add-to-hurd-subdirs
(list "libmachdevdde" "libddekit"))
;;; A static libpciaccess is required by hurd and netdde.
(define libpciaccess-static
(package
(inherit libpciaccess)
(arguments
(substitute-keyword-arguments (package-arguments libpciaccess)
((#:configure-flags flags)
#~(cons "-Ddefault_library=static" #$flags))))
(propagated-inputs
(list zlib (list zlib "static")))))
(define-public hurd
(package
(name "hurd")

View file

@ -1206,6 +1206,17 @@ themselves.")
(description "Xorg Generic PCI access library.")
(license license:x11)))
;;; A static libpciaccess is required by hurd and netdde.
(define-public libpciaccess-static
(package/inherit libpciaccess
(name "libpciaccess-static")
(arguments
(substitute-keyword-arguments (package-arguments libpciaccess)
((#:configure-flags flags)
#~(cons "-Ddefault_library=static" #$flags))))
(propagated-inputs
(list zlib (list zlib "static")))))
(define-public libpthread-stubs
(package
(name "libpthread-stubs")