(address . guix-patches@gnu.org)(name . emma thompson)(address . bigbookofbug@proton.me)
From: emma thompson <bigbookofbug@proton.me>
i noticed while trying to use libudev-sys that the build was failing. the backtrace noted that both pkg-config and libudev were missing. as noted upstream as well (https://github.com/dcuddeback/libudev-sys),udev is required in the build environment.
---
gnu/packages/crates-io.scm | 2 ++
1 file changed, 2 insertions(+)
Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c08ccd29fd..e5a92a6d57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44,6 +44,7 @@
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; Copyright © 2024 Nguy?n Gia Phong <mcsinyx@disroot.org>
+;;; Copyright © 2024 emma thompson <bigbookofbug@proton.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -39773,6 +39774,7 @@ (define-public rust-libudev-sys-0.1
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config eudev))
(home-page "https://github.com/dcuddeback/libudev-sys")
(synopsis "FFI bindings to libudev")
(description "This package provides FFI bindings to libudev.")
base-commit: b007cbbfb76aa6e072f1223699e910c45da7e732
--
2.46.0