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.
This commit is contained in:
parent
73e7a42447
commit
2bab532fdf
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
|
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
|
||||||
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
|
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
|
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -614,7 +615,8 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
|
||||||
(lambda (file) (delete-manifest-file out file))
|
(lambda (file) (delete-manifest-file out file))
|
||||||
'("install.log"
|
'("install.log"
|
||||||
"manifest-rust-docs"
|
"manifest-rust-docs"
|
||||||
"manifest-rust-std-x86_64-unknown-linux-gnu"
|
,(string-append "manifest-rust-std-"
|
||||||
|
(nix-system->gnu-triplet-for-rust))
|
||||||
"manifest-rustc"))
|
"manifest-rustc"))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (file) (delete-manifest-file cargo-out file))
|
(lambda (file) (delete-manifest-file cargo-out file))
|
||||||
|
|
Reference in a new issue