mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: lsof: Don't capture details about the build machine's kernel.
* gnu/packages/lsof.scm (lsof)[arguments]: In 'configure' phase, set "LSOF_SYSINFO" environment variable.
This commit is contained in:
parent
69dc3e5237
commit
d70478da2b
1 changed files with 8 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -69,6 +69,13 @@ (define-public lsof
|
|||
(lambda _
|
||||
(setenv "LSOF_CC" "gcc")
|
||||
(setenv "LSOF_MAKE" "make")
|
||||
|
||||
;; By default, the makefile captures the output of 'uname -a'.
|
||||
;; Provide a fixed output instead to make builds reproducible.
|
||||
(setenv "LSOF_SYSINFO"
|
||||
(string-append "GNU/" (utsname:sysname (uname))
|
||||
" (GNU Guix)"))
|
||||
|
||||
(invoke "./Configure" "linux")
|
||||
#t))
|
||||
(add-after 'configure 'patch-timestamps
|
||||
|
|
Loading…
Reference in a new issue