diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2022-09-24 12:42:21 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-09-24 12:48:16 +0200 |
commit | fe4663ae2476cb527d4f1f49ff8fa077d43f7251 (patch) | |
tree | 5c65204900c454cbfbf8a5001a525017613c0e59 /config-daemon.ac | |
parent | e1ce1009156d7923bcf1b93ca3918c9b18123007 (diff) | |
download | guix-fe4663ae2476cb527d4f1f49ff8fa077d43f7251.tar guix-fe4663ae2476cb527d4f1f49ff8fa077d43f7251.tar.gz |
installer: Fix configuration edition during testing.
When the configuration is edited, it looks like there are some leftover
fragments from the input configuration:
Example content of config.scm after edition:
#:imported-modules
'((gnu services herd)
(guix build utils)
(guix combinators)))
unted". The unique
;; file system identifiers there ("UUIDs") can be obtained
;; by running 'blkid' in a terminal.
...
This is strange because call-with-output-file uses the O_TRUNC flag which
resets the file size to zero. Remove the configuration file before writing it
as a work-around.
* gnu/installer/tests.scm (edit-configuration-file): Remove the configuration
file before re-writing it.
Diffstat (limited to 'config-daemon.ac')
0 files changed, 0 insertions, 0 deletions