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
@ -420,9 +420,9 @@ alias grep='grep --color=auto'\n")
|
||||
(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 New Issue
Block a user