~ruther/guix-local

71122981cb6136473227c5c21d6d69cbe13f1907 — Efraim Flashner 1 year, 7 months ago adeb7e4
gnu: libblockdev: Allow building on riscv64-linux.

* gnu/packages/disk.scm (libblockdev)[inputs]: Only add multipath-tools
on systems which are supported.

Change-Id: Ie79a78bfdf0147589494a0a1a39e4ff45fefbbee
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/packages/disk.scm
M gnu/packages/disk.scm => gnu/packages/disk.scm +4 -2
@@ 3,7 3,7 @@
;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016, 2019-2021, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2019-2021, 2023, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>


@@ 1249,6 1249,9 @@ to create devices with respective mappings for the ATARAID sets discovered.")
    (inputs
     (append
      (cons cryptsetup (libcryptsetup-propagated-inputs))
      (if (supported-package? multipath-tools)
          (list multipath-tools)
          '())
      (list bcache-tools
            btrfs-progs
            dosfstools


@@ 1264,7 1267,6 @@ to create devices with respective mappings for the ATARAID sets discovered.")
            libyaml
            lvm2
            mdadm
            multipath-tools
            ndctl
            nss
            ntfs-3g