diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-08-27 00:32:49 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-09-01 00:48:11 -0400 |
commit | a02ad4592cc085ca488a5c4c4c352dba5eaa645b (patch) | |
tree | 40e8f35d421f53bcbc555ad4f9bb6efd541d9a99 /gnu/system | |
parent | 1c4b3512db48a34aa5e7993167aa70a3124cdf34 (diff) | |
download | guix-a02ad4592cc085ca488a5c4c4c352dba5eaa645b.tar.gz |
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: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions