guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: rust: Fix install phase for non-x86_64 platf


From: guix-commits
Subject: branch master updated: gnu: rust: Fix install phase for non-x86_64 platforms.
Date: Fri, 25 Sep 2020 15:25:26 -0400

This is an automated email from the git hooks/post-receive script.

planglois pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2bab532  gnu: rust: Fix install phase for non-x86_64 platforms.
2bab532 is described below

commit 2bab532fdfaa54a085abc0ac7fc2c859ee31f640
Author: Pierre Langlois <pierre.langlois@gmx.com>
AuthorDate: Fri Sep 25 20:24:46 2020 +0100

    gnu: rust: Fix install phase for non-x86_64 platforms.
    
    * gnu/packages/rust.scm (rust-1.20)[arguments]: Replace hardcoded x86_64
    triplet with nix-system->gnu-triplet-for-rust in 'delete-install-logs phase.
---
 gnu/packages/rust.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e44e78d..05404de 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -614,7 +615,8 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                      (lambda (file) (delete-manifest-file out file))
                      '("install.log"
                        "manifest-rust-docs"
-                       "manifest-rust-std-x86_64-unknown-linux-gnu"
+                       ,(string-append "manifest-rust-std-"
+                                       (nix-system->gnu-triplet-for-rust))
                        "manifest-rustc"))
                    (for-each
                      (lambda (file) (delete-manifest-file cargo-out file))



reply via email to

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