gnu: nghttp2: Fix cross-compilation.
* gnu/packages/web.scm (nghttp2)[arguments]: In set-timezone-directory phase, search in both inputs and native-inputs.master
parent
eff633257c
commit
8e8855f9aa
|
@ -36,6 +36,7 @@
|
|||
;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||
;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
|
||||
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -6444,8 +6445,9 @@ derivation by David Revoy from the original MonsterID by Andreas Gohr.")
|
|||
(assoc-ref outputs "lib")))
|
||||
#t))
|
||||
(add-before 'check 'set-timezone-directory
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
|
||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||
(setenv "TZDIR" (string-append
|
||||
(assoc-ref (or native-inputs inputs) "tzdata")
|
||||
"/share/zoneinfo"))
|
||||
#t)))))
|
||||
(home-page "https://nghttp2.org/")
|
||||
|
|
Reference in New Issue