summaryrefslogtreecommitdiff
path: root/guix/profiles.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-14 15:06:53 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-14 15:34:42 +0200
commit993023a28e52c87647fb78a5aa94a524f42ceb71 (patch)
tree96ac647a62225501c09c46f53841aabe9789e8d5 /guix/profiles.scm
parent9acac9f9c6452cd76a21e52c7e5a33e8384b82b4 (diff)
downloadguix-patches-993023a28e52c87647fb78a5aa94a524f42ceb71.tar
guix-patches-993023a28e52c87647fb78a5aa94a524f42ceb71.tar.gz
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.
Diffstat (limited to 'guix/profiles.scm')
-rw-r--r--guix/profiles.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 6064820b9a..9df63c97e9 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -104,6 +104,7 @@
manifest-installed?
manifest-matching-entries
manifest-search-paths
+ check-for-collisions
manifest-transaction
manifest-transaction?