;; Run with: ;; guile -s FILE ~/.guix-profile (use-modules (guix profiles) (ice-9 match) (ice-9 pretty-print)) (define (guix-manifest where) (sort (map (lambda (entry) (let ((out (manifest-entry-output entry))) (if (string= out "out") (manifest-entry-name entry) (format #f "~a:~a" (manifest-entry-name entry) (manifest-entry-output entry))))) (manifest-entries (profile-manifest where))) stringmanifest ',(guix-manifest where)))) (_ (error "Please provide the path to a Guix profile.")))