mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
home: services: bash: Emit 'extra-content' first again.
Fixes a regression introduced in
4b96998292
that would less to a
'tests/guix-home.sh' failure.
* gnu/home/services/shells.scm (add-bash-configuration)[file-if-not-empty]:
Move EXTRA-CONTENT first.
This commit is contained in:
parent
e5d8302b2c
commit
c322d97832
1 changed files with 3 additions and 3 deletions
|
@ -420,9 +420,9 @@ (define* (file-if-not-empty field #:optional (extra-content #f))
|
|||
(not (null? ((configuration-field-getter field-obj) config))))
|
||||
`(,(object->snake-case-string file-name)
|
||||
,(apply mixed-text-file
|
||||
(object->snake-case-string file-name)
|
||||
(cons (serialize-field field)
|
||||
(if extra-content extra-content '()))))
|
||||
(object->snake-case-string file-name)
|
||||
(append (or extra-content '())
|
||||
(list (serialize-field field)))))
|
||||
'())))
|
||||
|
||||
(filter
|
||||
|
|
Loading…
Reference in a new issue