[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/142: gnu: pciutils: Fix the conditional for the kmod input.
From: |
guix-commits |
Subject: |
29/142: gnu: pciutils: Fix the conditional for the kmod input. |
Date: |
Mon, 10 Jan 2022 13:07:16 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit 3d91c07875c63fa0976bb863d463e7da436c1b07
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Dec 17 22:50:12 2021 -0500
gnu: pciutils: Fix the conditional for the kmod input.
Fixes <https://issues.guix.gnu.org/52411>. Thanks to Maxime Devos for
suggesting the solution.
* gnu/packages/pciutils.scm (pciutils): Delete trailing #t.
[inputs]{kmod}: Use the hurd-target? procedure in the condition, which
correctly handles the Nix system of %current-system and GNU triplet of
%current-target-system.
---
gnu/packages/pciutils.scm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm
index 47275a8ff0..b6b1e3ad85 100644
--- a/gnu/packages/pciutils.scm
+++ b/gnu/packages/pciutils.scm
@@ -87,8 +87,7 @@
(("^IDSDIR=.*$")
;; Installation directory of 'pci.ids.gz'.
- "IDSDIR = $(SHAREDIR)/hwdata\n"))
- #t))
+ "IDSDIR = $(SHAREDIR)/hwdata\n"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
;; Install the commands, library, and .pc files.
@@ -111,9 +110,7 @@
(native-inputs
(list which pkg-config))
(inputs
- `(,@(if (member (or (%current-target-system)
- (%current-system))
- (package-supported-systems kmod))
+ `(,@(if (not (hurd-target?))
`(("kmod" ,kmod))
'())
,@(if (hurd-target?)
- 20/142: gnu: mozjs-60: Use quasiquote, addressing TODO., (continued)
- 20/142: gnu: mozjs-60: Use quasiquote, addressing TODO., guix-commits, 2022/01/10
- 23/142: gnu: heimdal: Unify phases, addressing TODO., guix-commits, 2022/01/10
- 36/142: gnu: libpcap: Update to 2.62., guix-commits, 2022/01/10
- 57/142: gnu: python-typed-ast: Update to 1.5.1., guix-commits, 2022/01/10
- 61/142: gnu: python-typing: Update to 3.10.0.0., guix-commits, 2022/01/10
- 28/142: gnu: help2man: Update to 1.48.5., guix-commits, 2022/01/10
- 13/142: gnu: avahi: Make all arguments unconditional., guix-commits, 2022/01/10
- 12/142: gnu: python-3.9: Update to 3.9.9., guix-commits, 2022/01/10
- 21/142: gnu: llvm-12: Use quasiquote, addressing TODO., guix-commits, 2022/01/10
- 18/142: gnu: rust-bitflags-1: Absorb rust-bitflags-1.3., guix-commits, 2022/01/10
- 29/142: gnu: pciutils: Fix the conditional for the kmod input.,
guix-commits <=
- 32/142: gnu: gnupg: Update to 2.2.32., guix-commits, 2022/01/10
- 33/142: gnu: util-linux: Update to 2.37.2., guix-commits, 2022/01/10
- 37/142: gnu: shadow: Update to 4.9., guix-commits, 2022/01/10
- 39/142: gnu: rust-1.39: Update mrustc to commit c70665., guix-commits, 2022/01/10
- 42/142: gnu: python-gnupg: Update to 0.4.8., guix-commits, 2022/01/10
- 80/142: gnu: python-cachecontrol: Update to 0.12.10., guix-commits, 2022/01/10
- 35/142: gnu: cmake-bootstrap: Update to 3.21.4., guix-commits, 2022/01/10
- 62/142: gnu: python-typing-extensions: Update to 4.0.1., guix-commits, 2022/01/10
- 68/142: gnu: python-pylint: Update to 2.12.2., guix-commits, 2022/01/10
- 83/142: gnu: python-beautifulsoup4: Update to 4.10.0., guix-commits, 2022/01/10