mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 17:53:26 -05:00
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'.
This commit is contained in:
parent
ea19381bd9
commit
341fba217f
1 changed files with 2 additions and 3 deletions
|
@ -98,9 +98,8 @@ (define configurations
|
|||
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))
|
||||
|
||||
;; Based on `manifest->code' from (guix profiles)
|
||||
|
|
Loading…
Reference in a new issue