me
/
guix
Archived
1
0
Fork 0

home: import: Compare procedures with 'eq?'.

'procedure-name' is a debugging aid and cannot be reliably used to
check for procedure equality.

* guix/scripts/home/import.scm (configurations+modules): Remove use of
'procedure-name'.
master
Ludovic Courtès 2021-10-30 21:39:18 +02:00
parent ea19381bd9
commit 341fba217f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 3 deletions

View File

@ -98,8 +98,7 @@ service declaration."
destination-directory "/" file))
proc)))))
%files+configurations-alist)
(lambda (x y)
(equal? (procedure-name x) (procedure-name y)))))
eq?))
(map (lambda (proc) (proc destination-directory)) configurations))