mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Unset 'LOCPATH' before running bootstrap program.
Reported by Mark H Weaver <mhw@netris.org>. * tests/build-utils.scm ("wrap-program, one input, multiple calls"): Add 'unsetenv' call.
This commit is contained in:
parent
5c3c1427fa
commit
12cd4dd3a9
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2012, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -128,6 +128,11 @@ (define %store
|
|||
(inputs `(("bash" ,(search-bootstrap-binary "bash"
|
||||
(%current-system)))))))
|
||||
(d (package-derivation %store p)))
|
||||
|
||||
;; The bootstrap Bash is linked against an old libc and would abort with
|
||||
;; an assertion failure when trying to load incompatible locale data.
|
||||
(unsetenv "LOCPATH")
|
||||
|
||||
(and (build-derivations %store (pk 'drv d (list d)))
|
||||
(let* ((p (derivation->output-path d))
|
||||
(foo (string-append p "/foo"))
|
||||
|
|
Loading…
Reference in a new issue