From 3c30b715f05463822cafd20c90d503ebbfd832fc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 10 Jan 2024 08:41:18 +0200 Subject: [PATCH] gnu: make-rust-sysroot: Remove unneeded input. * gnu/packages/rust.scm (make-rust-sysroot/implementation)[inputs]: When building targeting mingw32 don't add libunwind. Change-Id: I4623bf3c034c488d7f836f64ea0d7924899ce6ad --- gnu/packages/rust.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 69afc12458..15d63be14d 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -46,7 +46,6 @@ (define-module (gnu packages rust) #:use-module (gnu packages flex) #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) - #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages mingw) @@ -1233,8 +1232,7 @@ (define make-rust-sysroot/implementation (cross-binutils target) (if (string=? "i686-w64-mingw32" target) mingw-w64-i686-winpthreads - mingw-w64-x86_64-winpthreads) - libunwind)) + mingw-w64-x86_64-winpthreads))) (modify-inputs (package-native-inputs base-rust) (prepend (cross-gcc target #:libc (cross-libc target))