writeTextFile -> writeText
This commit is contained in:
parent
7ea906162e
commit
210a19d12c
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue