Apparently writeText doesn't exist in pkgs?
This commit is contained in:
parent
210a19d12c
commit
18618c9c2a
|
@ -10,7 +10,7 @@ let
|
|||
concatLists = lsts: concatMap (i: i) lsts;
|
||||
|
||||
gen-sshfp-records-pkg = hostname: pubkey: let
|
||||
pubkey-file = writeText "${hostname}-initrd-ssh-pubkey" pubkey;
|
||||
pubkey-file = builtins.toFile "${hostname}-initrd-ssh-pubkey" pubkey;
|
||||
in pkgs.stdenv.mkDerivation {
|
||||
name = "${hostname}-initrd-ssh-firngerprint";
|
||||
|
||||
|
|
Loading…
Reference in New Issue