Drop into nix-shell
to require the right tools:
nix-shell
Clone smart contract dependencies into ./lib
:
dapp2nix clone-recursive lib
Make changes to the contracts in ./lib
and test flattening them with:
nix-build --arg srcRoot ./lib
The output will be in result/dapp/*/out/*.sol.flat
.