guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/33: gnu: pciutils: Remove kmod dependency for the Hurd.


From: guix-commits
Subject: 16/33: gnu: pciutils: Remove kmod dependency for the Hurd.
Date: Tue, 10 Mar 2020 03:58:47 -0400 (EDT)

janneke pushed a commit to branch wip-hurd
in repository guix.

commit 8a38c22ea94a726db516ad06176a606c8a8bbaa7
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sat Mar 7 04:05:02 2020 -0500

    gnu: pciutils: Remove kmod dependency for the Hurd.
    
    * gnu/packages/pciutils.scm (pciutils)[inputs]: The Hurd has no kmod;
    omit it on the Hurd.
---
 gnu/packages/pciutils.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm
index 0a55299..45d7b49 100644
--- a/gnu/packages/pciutils.scm
+++ b/gnu/packages/pciutils.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,6 +28,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages hurd)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages base))
 
@@ -100,7 +102,8 @@
      `(("which" ,which)
        ("pkg-config" ,pkg-config)))
     (inputs
-     `(("kmod" ,kmod)
+     `(,@(if (hurd-target?) '() ; Hurd has no kmod
+             `(("kmod" ,kmod)))
        ("zlib" ,zlib)))
     (home-page "https://mj.ucw.cz/sw/pciutils/";)
     (synopsis "Programs for inspecting and manipulating PCI devices")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]