1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-27 12:40:32 +02:00
Files
guix/gnu/installer
Mathieu Othacehe fe4663ae24 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.
2022-09-24 12:48:16 +02:00
..
2019-01-17 14:04:23 +01:00
2019-07-25 00:16:41 +02:00