environment: Disable profile collision checks.
authorLudovic Courtès <ludo@gnu.org>
Wed, 21 Jun 2017 14:50:59 +0000 (16:50 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 21 Jun 2017 14:53:22 +0000 (16:53 +0200)
commitafd06f605bf88a796acefc7ed598b43879346a6b
treeedb62a347c953146831a7d67ca21d78329855b01
parentcba988ed859616f3a36f88f2984d42417447dfa1
environment: Disable profile collision checks.

Reported by Efraim Flashner.
This is a followup to a654dc4bcf7c8e205bdefa1a1d5f23444dd22778.

* guix/profiles.scm (profile-derivation): Add #:allow-collisions? and
honor it.
* guix/scripts/environment.scm (inputs->profile-derivation): Pass
 #:allow-collisions? #f to 'profile-derivation'.
* tests/guix-environment.sh: Test "guix environment guix".
guix/profiles.scm
guix/scripts/environment.scm
tests/guix-environment.sh