[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids.
From: |
Maxime Devos |
Subject: |
[bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids. |
Date: |
Sat, 26 Feb 2022 12:21:01 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Brendan Tildesley schreef op za 26-02-2022 om 15:32 [+1100]:
> + (string-append "-Dwith-usb-ids-path=" #$hwdata:usb
> "/share/hwdata/usb.ids")
> + (string-append "-Dwith-pci-ids-path=" #$hwdata:pci
> "/share/hwdata/pci.ids"))
To allow for package transformations, I recommend using
this-package-input or the like instead of hardcoding a particular
package:
#~(list
(string-append
"-Dwith-usb-ids-path="
#$(this-package-input "hwdata:usb") "/share/hwdata/usb.ids"))
[...])
it might also be possible to use 'search-input-file' instead, avoiding
input labels (untested):
#~(let* ((inputs #$(input-tuples->gexp (package-inputs this-package)))
(usb.ids (search-input-file inputs "/share/hwdata/usb.ids"))
(pci.ids (search-input-file inputs "/share/hwdata/pci.ids")))
(list (string-append "-Dwith-usb-ids-path=" usb.ids) [...]))
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#54069] [PATCH 0/2] gnu: pciutils: Unbundle pci.ids and use latest., (continued)
[bug#54069] [PATCH v2 1/4] gnu: Add hwdata., Brendan Tildesley, 2022/02/25
- [bug#54069] [PATCH v2 2/4] gnu: pciutils: Unbundle pci.ids and use latest., Brendan Tildesley, 2022/02/25
- [bug#54069] [PATCH v2 4/4] gnu: libpciaccess: Use hwdata for pci.ids., Brendan Tildesley, 2022/02/25
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Brendan Tildesley, 2022/02/25
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids.,
Maxime Devos <=
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Brendan Tildesley, 2022/02/26
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Maxime Devos, 2022/02/27
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Maxime Devos, 2022/02/27
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Ludovic Courtès, 2022/02/27
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Maxime Devos, 2022/02/27
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Ludovic Courtès, 2022/02/28
- [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Maxime Devos, 2022/02/27
[bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids., Maxime Devos, 2022/02/27
[bug#54069] [PATCH v2 1/4] gnu: Add hwdata., Maxim Cournoyer, 2022/02/26