Skip to content
Snippets Groups Projects
Unverified Commit a02ad459 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

gexp: computed-file: Prevent mistakenly overriding default option values.


In order to do so, default to an empty options list, and expose options whose
default values are sensitive directly as keyword arguments.

* guix/gexp.scm (computed-file): Extract the LOCAL-BUILD? parameter from the
OPTIONS parameter to make it a stand-alone keyword argument.  Introduce an
OPTIONS* binding which is obtained by combining the LOCAL-BUILD? keyword and
its value with OPTIONS.
* doc/guix.texi (G-Expressions): Adjust doc.

Suggested-by: default avatarLudovic Courtès <ludo@gnu.org>
parent 1c4b3512
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment