diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 5e19df5e43..4834da9271 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -789,7 +789,8 @@ (define (diff-profiles profile numbers) (('search-paths kind) (let* ((manifests (map profile-manifest profiles)) - (entries (append-map manifest-entries manifests)) + (entries (append-map manifest-transitive-entries + manifests)) (profiles (map user-friendly-profile profiles)) (settings (search-path-environment-variables entries profiles (const #f)