mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-25 10:12:42 +03:00
6447694214
generate-secrets.sh will also be used in generate-secrets.nix, so DRY its dependency definitions.
7 lines
164 B
Nix
7 lines
164 B
Nix
{ pkgs }: with pkgs;
|
|
|
|
writeScript "generate-secrets" ''
|
|
export PATH=${lib.makeBinPath [ coreutils apg openssl ]}
|
|
. ${./generate-secrets.sh} ${./openssl.cnf}
|
|
''
|