summaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi23
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index fcd06edeae..3ab8708592 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -33,7 +33,7 @@ Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021, 2023, 2025 Leo Famula
Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Ricardo Wurmus@*
Copyright @copyright{} 2016 Ben Woodcroft@*
Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@*
-Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Efraim Flashner@*
+Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2025 Efraim Flashner@*
Copyright @copyright{} 2016 John Darrington@*
Copyright @copyright{} 2016, 2017 Nikita Gillmann@*
Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 Janneke Nieuwenhuizen@*
@@ -15797,6 +15797,27 @@ Parse the @code{source} URL to determine if a tarball from GitHub is
autogenerated or if it is a release tarball. Unfortunately GitHub's
autogenerated tarballs are sometimes regenerated.
+@item misplaced-flags
+Parse the @code{make-flags} and @code{configure-flags} to check for any
+flags which should be set with another flag as part of the build-system.
+For example,
+
+@lisp
+(build-system cmake-build-system)
+(arguments
+ (list #:configure-flags #~(list "-DCMAKE_BUILD_TYPE=RELEASE"
+ "-DTESTS=ON")))
+@end lisp
+
+should instead be written as:
+
+@lisp
+(build-system cmake-build-system)
+(arguments
+ (list #:build-type "RELEASE"
+ #:configure-flags #~(list "-DTESTS=ON")))
+@end lisp
+
@item derivation
Check that the derivation of the given packages can be successfully
computed for all the supported systems (@pxref{Derivations}).