writeTextFile -> writeText
This commit is contained in:
parent
7ea906162e
commit
210a19d12c
|
@ -10,10 +10,7 @@ let
|
||||||
concatLists = lsts: concatMap (i: i) lsts;
|
concatLists = lsts: concatMap (i: i) lsts;
|
||||||
|
|
||||||
gen-sshfp-records-pkg = hostname: pubkey: let
|
gen-sshfp-records-pkg = hostname: pubkey: let
|
||||||
pubkey-file = builtins.writeTextFile {
|
pubkey-file = writeText "${hostname}-initrd-ssh-pubkey" pubkey;
|
||||||
name = "${hostname}-initrd-ssh-pubkey";
|
|
||||||
text = pubkey;
|
|
||||||
};
|
|
||||||
in pkgs.stdenv.mkDerivation {
|
in pkgs.stdenv.mkDerivation {
|
||||||
name = "${hostname}-initrd-ssh-firngerprint";
|
name = "${hostname}-initrd-ssh-firngerprint";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue