node2nix packages: Replace tgz reference with symbolic one.
This is almost equivalent except that with symbolic reference node2nix consults the NPM registry for package.json information instead of the package.json in the tgz file. The registry canonicalizes the "dependencies" attribute in that it adds all "optionalDependencies", which the npm binary would do for local package.json files, but node2nix does not. For spark-wallet optionalDependencies are not listed in the tgz distributed package.json, hence node2nix misses them. This leads to a missing qrcode-terminal package and spark-wallet dying when called with -Q.
This commit is contained in:
parent
b3e0315d8e
commit
2250644f82
@ -1,3 +1,3 @@
|
|||||||
[
|
[
|
||||||
{ "lightning-charge": "https://registry.npmjs.org/lightning-charge/-/lightning-charge-0.4.7.tgz" }
|
{ "lightning-charge": "^0.4.7" }
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[
|
[
|
||||||
{ "nanopos": "https://registry.npmjs.org/nanopos/-/nanopos-0.1.5.tgz" }
|
{ "nanopos": "^0.1.5" }
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[
|
[
|
||||||
{ "spark-wallet": "https://registry.npmjs.org/spark-wallet/-/spark-wallet-0.2.5.tgz" }
|
{ "spark-wallet": "^0.2.5" }
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user