diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index fb8bc7e868..d7cb217e17 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Roel Janssen ;;; Copyright © 2016 Jelle Licht ;;; Copyright © 2016 Alex Griffin -;;; Copyright © 2016, 2018, 2019, 2020 Efraim Flashner +;;; Copyright © 2016, 2018, 2019, 2020, 2023 Efraim Flashner ;;; Copyright © 2016 Nikita ;;; Copyright © 2016, 2020 Marius Bakke ;;; Copyright © 2017 Eric Bavier @@ -527,6 +527,20 @@ character-by-character. (base32 "1rqynfxl1zxwk4b42sniz9xlw285aidcrsfih51p8dy0rbb6clal")))) (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'update-config-scripts + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (for-each (lambda (file) + (install-file + (search-input-file + (or native-inputs inputs) + (string-append "/bin/" file)) "aux-build")) + '("config.guess" "config.sub"))))))) + (native-inputs + (list config)) (synopsis "C/C++ configuration file library") (description "Libconfig is a simple library for manipulating structured configuration