diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ntp.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm index 30f3e32beb..cb9fdaa09f 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re> ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -73,6 +74,9 @@ "--with-user=chrony") #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'set-CC + (lambda _ + (setenv "CC" #$(cc-for-target)))) (add-after 'unpack 'stay-inside-out ;; Simply setting CHRONYVARDIR to something nonsensical at install ;; time would result in nonsense file names in man pages. |