nix-bitcoin/pkgs/nanopos/generate.sh