Commit Graph

1667 Commits

Author SHA1 Message Date
Clemens Fruhwirth
d569d1bb59 node2nix packages: Remove unnecessary node-pre-gyp 2019-03-26 14:31:02 +01:00
Clemens Fruhwirth
2250644f82 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 14:30:58 +01:00
Jonas Nick
b3e0315d8e
Merge branch 'clefru-nixos-fixes' 2019-03-26 08:58:53 +00:00
Jonas Nick
4752d0fde0
Merge branch 'nixos-fixes' of https://github.com/clefru/nix-bitcoin into clefru-nixos-fixes 2019-03-26 08:58:40 +00:00
Clemens Fruhwirth
66d9650f48 Create /var/lib/bitcoind/blocks
Otherwise:
Mar 25 13:33:22 nix-bitcoin systemd[1]: Starting Bitcoin daemon...
Mar 25 13:33:22 nix-bitcoin f3ickn20fqrz5gd0zm7hgm247b9ajdl8-unit-script-bitcoind-pre-start[1883]: chmod: cannot access '/var/lib/bitcoind/blocks': No such fi>
Mar 25 13:33:22 nix-bitcoin systemd[1]: bitcoind.service: Control process exited, code=exited status=1
Mar 25 13:33:22 nix-bitcoin systemd[1]: bitcoind.service: Failed with result 'exit-code'.
2019-03-25 14:59:36 +01:00
Clemens Fruhwirth
0115d612e1 Use plain /bin/sh as /bin/bash does not exist under NixOS. 2019-03-25 14:34:27 +01:00
Clemens Fruhwirth
316b493cda chmod $out not $src as this fails under NixOS. 2019-03-25 14:34:27 +01:00
Clemens Fruhwirth
5e40066c7f 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 14:32:55 +01:00
Jonas Nick
d24c5416ed
Update nixpkgs 2019-03-24 21:21:36 +00:00
Jonas Nick
60b8a9eef4
Merge branch '10-fixes' 2019-03-24 20:48:42 +00:00
Jonas Nick
0c83f87233
Don't include electrs in 'all' profile 2019-03-24 20:46:33 +00:00
Jonas Nick
d39a253d20
Fix definition of high memory systems 2019-03-24 20:46:29 +00:00
Jonas Nick
7145d0dca9
Merge branch 'nixbitcoin-electrum-server' 2019-03-24 20:45:39 +00:00
Jonas Nick
7eed67278d
Merge branch 'electrum-server' of https://github.com/nixbitcoin/nix-bitcoin into nixbitcoin-electrum-server 2019-03-24 20:45:26 +00:00
nixbitcoin
eb4968d292
Add high-memory description 2019-03-24 11:38:37 +01:00
Jonas Nick
7414af1569
Merge branch 'nixbitcoin-banlist' 2019-03-21 22:16:43 +00:00
nixbitcoin
fca4af59ac
Remove mentions of electrs in the bitcoind module, set sysperms & disablewallet only when electrs is enabled, electrs enabled in "all" setting, remove
unnecessary newline, make sysperms & disablewallet optional
2019-03-21 11:27:28 +01:00
nixbitcoin
fbc78ce6ed
Add Greg Maxwell's banlist to bitcoind postStart 2019-03-21 10:11:18 +01:00
Jonas Nick
022ba88450
Merge branch 'nixbitcoin-liquid-tor' 2019-03-18 15:21:01 +00:00
nixbitcoin
d6facee486
Add config.services.liquidd.port 2019-03-18 14:17:38 +01:00
nixbitcoin
eacd057963
Fix electrs and add electrs hidden service 2019-03-16 16:11:54 +01:00
nixbitcoin
de889d584f
Add proxy and hidden service to liquidd 2019-03-14 11:19:28 +01:00
Jonas Nick
8b9c9bd70a
Merge branch 'nixbitcoin-clightning-tor' 2019-03-07 16:19:02 +00:00
nixbitcoin
132703637c
Tor proxy, always-use-proxy, bind to localhost clightning 2019-03-07 13:37:00 +01:00
Jonas Nick
902455e142
Update nixpkgs-unstable for clightning 0.7.0 2019-03-05 10:05:16 +00:00
Jonas Nick
35165c42d8
Update nixpkgs 2019-03-02 20:23:19 +00:00
Jonas Nick
63a58657e4
Merge pull request #7 from nixbitcoin/documentation
Add own hardware tutorial to README.md
2019-02-26 17:36:50 +00:00
nixbitcoin
8fedbe66c3
Add own hardware tutorial to README.md 2019-02-24 22:19:56 +01:00
Jonas Nick
6005307129
Enable validatepegin in liquid module 2019-02-11 08:02:11 +00:00
Jonas Nick
b31a9d3cb3
Add note about how to update IP address for virtualbox deployments 2019-02-11 08:01:31 +00:00
Jonas Nick
5404907e3e
Turn off pruning 2019-02-10 18:46:07 +00:00
Jonas Nick
ccd768aec1
Update nixpkgs 2019-02-10 18:45:30 +00:00
Jonas Nick
99e56db674
Add note about PubkeyAuthentication no to README 2019-01-31 13:20:07 +00:00
Jonas Nick
e5267bfb0b
update README 2019-01-26 22:19:17 +00:00
Jonas Nick
52b8cae70d
update README 2019-01-26 22:16:26 +00:00
Jonas Nick
fa2394b2cc
Add asciicast 2019-01-26 22:11:16 +00:00
Jonas Nick
6da972b8dd
Update README 2019-01-26 18:45:11 +00:00
Jonas Nick
35fd0cdd06
Update README 2019-01-26 18:42:04 +00:00
Jonas Nick
1d020a7ca8
move nixpkgs-pinned.nix 2019-01-26 18:12:08 +00:00
Jonas Nick
6763459b62
Move nix-bitcoin.nix into modules 2019-01-26 18:06:25 +00:00
Jonas Nick
5d494f2a19
Update readme 2019-01-26 18:05:29 +00:00
Jonas Nick
2dd5e4e8b0
Disable pruning 2019-01-26 17:44:36 +00:00
Jonas Nick
61ee3a36f7
fix ssh-agent issue and added new file where pinned nixpkgs are specified 2019-01-26 13:26:33 +00:00
Jonas Nick
ffe06ccf38
README: link to appendix 2019-01-22 21:25:17 +00:00
Jonas Nick
6057239239
fix README 2019-01-22 21:12:19 +00:00
Jonas Nick
8a56a994fd
Fix spark-wallet login 2019-01-21 12:24:17 +00:00
Jonas Nick
26c0aeb19d
Mention demo installation in README.md 2019-01-21 08:20:51 +00:00
Jonas Nick
87abbc5770
Update nixpkgs-unstable for clightning 0.6.3 2019-01-17 21:52:19 +00:00
Jonas Nick
723fac48a6
Disable the binaryCache by default 2019-01-15 23:07:32 +00:00
Jonas Nick
0df59113f4
Update stable nixpkgs 2019-01-13 20:58:30 +00:00