mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-30 22:35:57 +02:00
profiles: manifest-lookup-package: Cosmetic changes.
* guix/profiles.scm (manifest-lookup-package): Rename variables; use "string=?" instead of "equal?".
This commit is contained in:
+3
-3
@@ -490,12 +490,12 @@ if not found."
|
||||
inputs))
|
||||
(define (find-among-store-items items)
|
||||
(find (lambda (item)
|
||||
(let-values (((pkg-name pkg-version)
|
||||
(let-values (((name* version*)
|
||||
(package-name->name+version
|
||||
(store-path-package-name item))))
|
||||
(and (equal? name pkg-name)
|
||||
(and (string=? name name*)
|
||||
(if version
|
||||
(string-prefix? version pkg-version)
|
||||
(string-prefix? version version*)
|
||||
#t))))
|
||||
items))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user