File tree 2 files changed +15
-14
lines changed
2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -59,22 +59,17 @@ that would be used by Nix, you may enter a nix shell as follows:
59
59
nix-shell
60
60
```
61
61
62
- You may then configure with the following command:
63
- ``` bash
64
- configurePhase
65
- ```
66
-
67
- And build with this one:
68
- ``` bash
69
- buildPhase
70
- ```
71
-
72
- Finally, you can run the tests with:
62
+ As with many nix packages, you may then respectively
63
+ configure, build or run tests with the following respective commands,
64
+ or all of them combined with ` && ` :
73
65
``` bash
66
+ configurePhase &&
67
+ buildPhase &&
74
68
checkPhase
75
69
```
76
70
77
71
The ` ./src/ ` directory will have been added to your ` PATH `
72
+ by the ` shell.nix ` configuration file,
78
73
so you can run commands simply with:
79
74
``` bash
80
75
elements-cli -?
Original file line number Diff line number Diff line change @@ -72,10 +72,16 @@ stdenv.mkDerivation rec {
72
72
"--with-boost-libdir=${ boost . out } /lib"
73
73
"--disable-bench"
74
74
"--enable-any-asset-fees"
75
- ] ++ lib . optionals ( ! doCheck ) [
75
+ "--without-natpmp"
76
+ "--without-upnp"
77
+ "--without-zmq"
78
+ "--without-usdt"
79
+ ] ++ ( if doCheck then [
80
+ "--enable-extended-functional-tests"
81
+ ] else [
76
82
"--disable-tests"
77
83
"--disable-gui-tests"
78
- ] ++ lib . optionals ( ! withWallet ) [
84
+ ] ) ++ lib . optionals ( ! withWallet ) [
79
85
"--disable-wallet"
80
86
] ++ lib . optionals withGui [
81
87
"--with-gui=qt5"
@@ -88,7 +94,7 @@ stdenv.mkDerivation rec {
88
94
89
95
nativeCheckInputs = [ python3 ] ;
90
96
91
- doCheck = false ;
97
+ doCheck = true ;
92
98
93
99
checkFlags =
94
100
[ "LC_ALL=en_US.UTF-8" ]
You can’t perform that action at this time.
0 commit comments