From b4469d8c12905f07a6825654bc3313beb0563cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 5 Oct 2014 16:25:25 +0200 Subject: gnu: cross-base: Use the right dynamic linker name. * gnu/packages/cross-base.scm (cross-gcc-arguments): Parametrize %CURRENT-TARGET-SYSTEM. * tests/monads.scm ("package-file + package->cross-derivation"): Replace "foo64-gnu" with "mips64el-linux-gnu". --- tests/monads.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/monads.scm') diff --git a/tests/monads.scm b/tests/monads.scm index b31cabdb54..5514c8386c 100644 --- a/tests/monads.scm +++ b/tests/monads.scm @@ -123,10 +123,10 @@ (test-assert "package-file + package->cross-derivation" (run-with-store %store - (mlet* %store-monad ((file (package-file coreutils "bin/ls" - #:target "foo64-gnu")) - (xcu (package->cross-derivation coreutils - "foo64-gnu"))) + (mlet* %store-monad ((target -> "mips64el-linux-gnu") + (file (package-file coreutils "bin/ls" + #:target target)) + (xcu (package->cross-derivation coreutils target))) (let ((output (derivation->output-path xcu))) (return (string=? file (string-append output "/bin/ls"))))) #:guile-for-build (package-derivation %store %bootstrap-guile))) -- cgit v1.2.3