This website requires JavaScript.
Explore
Help
Sign In
fort-nix
/
nix-bitcoin
Watch
1
Star
1
Fork
0
You've already forked nix-bitcoin
mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced
2024-12-18 13:41:53 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d9eefab336
nix-bitcoin
/
pkgs
/
spark-wallet
/
pkg.json
4 lines
35 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 16:27:21 +03: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 15:52:34 +03:00
{
"spark-wallet"
:
"^0.2.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 16:27:21 +03:00
]
Reference in New Issue
Copy Permalink