mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 23:02:38 +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}
|
|
''
|