This website requires JavaScript.
Explore
Help
Sign In
greg
/
nix-bitcoin
Watch
1
Star
0
Fork
0
You've already forked nix-bitcoin
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
6856b8cb42
nix-bitcoin
/
pkgs
/
nanopos
/
pkg.json
4 lines
30 B
JSON
Raw
Normal View
History
Unescape
Escape
nanopos, lightning-charge and spark-wallet: Package via node2nix The strategy of invoking node2nix inside a derivation (installPhase in this case) does not work, as under NixOS installations there is no network traffic allowed during a derivation build. Hence, we move node2nix outside and rewrite the packaging into the modules. Also switch to callPackage instead of plain imports. This could probably be done on all other imported packages inside of nix-bitcoin-pkgs.nix.
2019-03-25 06:27:21 -07:00
[
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.
2019-03-26 05:52:34 -07:00
{
"nanopos"
:
"^0.1.5"
}
nanopos, lightning-charge and spark-wallet: Package via node2nix The strategy of invoking node2nix inside a derivation (installPhase in this case) does not work, as under NixOS installations there is no network traffic allowed during a derivation build. Hence, we move node2nix outside and rewrite the packaging into the modules. Also switch to callPackage instead of plain imports. This could probably be done on all other imported packages inside of nix-bitcoin-pkgs.nix.
2019-03-25 06:27:21 -07:00
]
Reference in New Issue
Copy Permalink