summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-10 11:49:25 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-10 11:49:25 +0200
commitb5dca274968133032b34da250d43ef2e5f46685b (patch)
tree461647c76940c883188c8f8a4c1418091d777d03 /gnu/packages
parent55faf486c7b0d4d3e924b0923e8065cd4386af93 (diff)
downloadguix-b5dca274968133032b34da250d43ef2e5f46685b.tar.gz
gnu: rust-cpuid-bool-0.2: Only build on supported systems.
* gnu/packages/crates-io.scm (rust-cpuid-bool-0.2)[arguments]: Skip the
build unless building on x86_64-linux or i686-linux.

Change-Id: I8e224618088154f45195405a13721d1e18b3be64
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 962504164e..619c4a6aab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16844,6 +16844,9 @@ to the @code{is_x86_feature_detected!} macro.")
        (sha256
         (base32 "1fpzag3g655p1lr08jgf5n89snjc2ycqx30mm0w3irc9fc3mvcnw"))))
     (build-system cargo-build-system)
+    (arguments
+     ;; error: This crate works only on x86 and x86-64 targets.
+     (list #:skip-build? (not (target-x86?))))
     (home-page "https://github.com/RustCrypto/utils/tree/master/cpufeatures")
     (synopsis "replaced by the `cpufeatures` crate")
     (description "This package has been replaced by the `cpufeatures` crate.")