locked flag added to building section. (#1723)

As described in #1717 running `cargo install` without `--locked` flag may end up with build fails.
This commit is contained in:
Nikita Puzankov
2020-09-15 16:13:10 +04:00
committed by GitHub
parent bfb41c715b
commit 5b3c703789
+1 -1
View File
@@ -67,7 +67,7 @@ dnf install polkadot
If you want to install Polkadot in your PATH, you can do so with with:
```bash
cargo install --git https://github.com/paritytech/polkadot --tag <version> polkadot
cargo install --git https://github.com/paritytech/polkadot --tag <version> polkadot --locked
```
### Build from Source