pack: Docker backend now honors '--localstatedir'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 3 Nov 2018 20:53:07 +0000 (21:53 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 6 Nov 2018 22:21:24 +0000 (23:21 +0100)
commitf5a2fb1bfbb620a6ce23ac0e7e15132cae9207da
tree719fd280f76e0f41fb2b6f339fa696d7735cd817
parentc5ce2db56909e7dd3fdcd30fa453272d56b07451
pack: Docker backend now honors '--localstatedir'.

* guix/docker.scm (build-docker-image): Add #:database parameter.
Create /var/guix/db, /var/guix/profiles, etc. when DATABASE is true.
* guix/scripts/pack.scm (docker-image): Export.  Remove #:deduplicate?
parameter.  Define 'database' and pass it to 'docker-image'.
* tests/pack.scm (test-assertm): Recompile the derivation of
%BOOTSTRAP-GUILE.
("docker-image + localstatedir"): New test.
guix/docker.scm
guix/scripts/pack.scm
tests/pack.scm