mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: node-serialport-bindings: Fix build.
This is a follow-up to 0881a674cce3af6ebe0c1c85000e2726cbe6fc54. * gnu/packages/node-xyz.scm (node-serialport-bindings)[arguments]<#:phases>: Reintroduce 'avoid-prebuild-install phase. Reintroduce deletion of "prebuild-install" and "@serialport/binding-mock" in 'delete-dependencies phase. Change-Id: I21d1ab221c2edb0621815a77b4ced43f1b1916b8
This commit is contained in:
committed by
Andreas Enge
parent
d3086f85e0
commit
578c17cfc2
@@ -1203,7 +1203,14 @@ it to make a new binding for a different platform or underling technology.")))
|
||||
(chdir "packages/bindings")))
|
||||
(add-after 'patch-dependencies 'delete-dependencies
|
||||
(lambda args
|
||||
(modify-json (delete-dependencies `("node-abi"))))))
|
||||
(modify-json (delete-dependencies '("prebuild-install"
|
||||
;; devDependencies
|
||||
"@serialport/binding-mock"
|
||||
"node-abi")))))
|
||||
(add-after 'chdir 'avoid-prebuild-install
|
||||
(lambda args
|
||||
(modify-json (delete-fields '(("scripts" "install")))
|
||||
(replace-fields '(("gypfile" . #f)))))))
|
||||
#:tests? #f))
|
||||
(synopsis "Abstract base class for Node SerialPort bindings")
|
||||
(description "Node SerialPort is a modular suite of Node.js packages for
|
||||
|
||||
Reference in New Issue
Block a user