writeTextFile -> writeText

This commit is contained in:
niten 2021-10-15 15:20:43 -07:00
parent 7ea906162e
commit 210a19d12c
1 changed files with 1 additions and 4 deletions

View File

@ -10,10 +10,7 @@ let
concatLists = lsts: concatMap (i: i) lsts;
gen-sshfp-records-pkg = hostname: pubkey: let
pubkey-file = builtins.writeTextFile {
name = "${hostname}-initrd-ssh-pubkey";
text = pubkey;
};
pubkey-file = writeText "${hostname}-initrd-ssh-pubkey" pubkey;
in pkgs.stdenv.mkDerivation {
name = "${hostname}-initrd-ssh-firngerprint";