lint: Add 'check-for-collisions' checker.

Suggested by Edouard Klein <edk@beaver-labs.com>.

* guix/profiles.scm (check-for-collisions): Export.
* guix/lint.scm (check-profile-collisions): New procedure.
(%local-checkers): Add 'profile-collisions' checker.
* tests/lint.scm ("profile-collisions: no warnings")
("profile-collisions: propagated inputs collide")
("profile-collisions: propagated inputs collide, store items"): New tests.
* doc/guix.texi (Invoking guix lint): Document it.
This commit is contained in:
Ludovic Courtès 2020-06-14 15:06:53 +02:00
parent 9acac9f9c6
commit 993023a28e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
4 changed files with 78 additions and 0 deletions

View file

@ -104,6 +104,7 @@
manifest-installed?
manifest-matching-entries
manifest-search-paths
check-for-collisions
manifest-transaction
manifest-transaction?