mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38: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
|
@ -421,8 +421,8 @@ (define* (file-if-not-empty field #:optional (extra-content #f))
|
||||||
`(,(object->snake-case-string file-name)
|
`(,(object->snake-case-string file-name)
|
||||||
,(apply mixed-text-file
|
,(apply mixed-text-file
|
||||||
(object->snake-case-string file-name)
|
(object->snake-case-string file-name)
|
||||||
(cons (serialize-field field)
|
(append (or extra-content '())
|
||||||
(if extra-content extra-content '()))))
|
(list (serialize-field field)))))
|
||||||
'())))
|
'())))
|
||||||
|
|
||||||
(filter
|
(filter
|
||||||
|
|
Loading…
Reference in a new issue