GNU bug report logs -
#51838
[PATCH 00/11] guix: node-build-system: Support compiling add-ons with node-gyp.
Previous Next
Reported by: Philip McGrath <philip <at> philipmcgrath.com>
Date: Sun, 14 Nov 2021 12:43:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 12/12/21 11:09, Pierre Langlois wrote:
>
> Philip McGrath <philip <at> philipmcgrath.com> writes:
>
>> * guix/build/node-build-system.scm (delete-lockfiles): New function.
>> Remove 'package-lock.json', 'yarn.lock', and 'npm-shrinkwrap.json',
>> if they exist. Because these files specify dependency both exact
>> versions and integrity hashes, they only cause problems for Guix.
>> (%standard-phases): Add 'delete-lockfiles' after 'patch-dependencies'.
>> ---
>> gnu/packages/node.scm | 12 ------------
>> guix/build/node-build-system.scm | 12 ++++++++++++
>> 2 files changed, 12 insertions(+), 12 deletions(-)
>>
>> diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
>> index 6d48816c77..5289e2fe4f 100644
>> --- a/gnu/packages/node.scm
>> +++ b/gnu/packages/node.scm
>> @@ -488,12 +488,6 @@ (define-public node-llparse-builder-bootstrap
>> "typescript")
>> #:phases
>> (modify-phases %standard-phases
>> - (add-before 'configure 'remove-package-lock
>> - ;; Having package-lock.json seems to cause npm
>> - ;; to look for things on the internet in the configure phase,
>> - ;; even if we have them properly installed.
>> - (lambda args
>> - (delete-file-recursively "package-lock.json")))
>> (replace 'build
>> (lambda* (#:key inputs #:allow-other-keys)
>> (let ((esbuild (string-append (assoc-ref inputs "esbuild")
>> @@ -621,12 +615,6 @@ (define-public node-llparse-bootstrap
>> "typescript")
>> #:phases
>> (modify-phases %standard-phases
>> - (add-before 'configure 'remove-package-lock
>> - ;; Having package-lock.json seems to cause npm
>> - ;; to look for things on the internet in the configure phase,
>> - ;; even if we have them properly installed.
>> - (lambda args
>> - (delete-file-recursively "package-lock.json")))
>
> These changes were added in this series right? I'd suggest to re-order
> commits to have the build-system changes first so that they don't need
> to be added at all.
Right! I'll do that.
-Philip
This bug report was last modified 3 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.