gnu: node-wrappy: Use 'delete-dependencies'.

gnu/packages/node-xyz.scm (node-wrappy)[arguments]: Use
'delete-dependencies'.  Stop deleting the 'configure' phase.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Philip McGrath 2022-01-08 03:42:02 -05:00 committed by Liliana Marie Prikler
parent cdc47fb3ef
commit 8c83a9c7ea
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -320,8 +320,9 @@ (define-public node-wrappy
'(#:tests? #f ; FIXME: Tests depend on node-tap
#:phases
(modify-phases %standard-phases
;; The only dependency to check for is tap, which we don't have.
(delete 'configure))))
(add-after 'patch-dependencies 'delete-dependencies
(lambda args
(delete-dependencies '("tap")))))))
(home-page "https://github.com/npm/wrappy")
(synopsis "Callback wrapping utility")
(description "@code{wrappy} is a utility for Node.js to wrap callbacks.")