environment: '--container' honors '--preserve'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 3 Oct 2019 20:19:11 +0000 (22:19 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 3 Oct 2019 21:48:59 +0000 (23:48 +0200)
commit5a02f8e3842c19d28f39e5b47d804ef70e1b3160
tree9cc45125f032b6691fccb232f580a2ffe0a91294
parent9a68b89e8ab47b6e3297dc82bde576f4c70a6a2a
environment: '--container' honors '--preserve'.

* guix/scripts/environment.scm (launch-environment/container): Add
 #:white-list parameter and  honor it.
(guix-environment): Pass #:white-list to 'launch-environment/container'.
* tests/guix-environment-container.sh: Add test.
guix/scripts/environment.scm
tests/guix-environment-container.sh