summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorDaniel Fullmer <danielrf12@gmail.com>2022-05-03 17:58:19 -0700
committerDaniel Fullmer <danielrf12@gmail.com>2022-05-03 22:09:43 -0700
commitad38a2a6464394697f0672717f39c1b6188c1a89 (patch)
treea44a32fcbfb41940a0b35d4875e4f0b2eed0fce3 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent80703515158aff79661646cedeec98f787b161b1 (diff)
nixos/ssh: remove empty host key files before generating new ones
In a previous PR [1], the conditional to generate a new host key file was changed to also include the case when the file exists, but has zero size. This could occur when the system is uncleanly powered off shortly after first boot. However, ssh-keygen prompts the user before overwriting a file. For example: $ touch hi $ ssh-keygen -f hi Generating public/private rsa key pair. hi already exists. Overwrite (y/n)? So, lets just try to remove the empty file (if it exists) before running ssh-keygen. [1] https://github.com/NixOS/nixpkgs/pull/141258
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions