Apparently writeText doesn't exist in pkgs?

This commit is contained in:
niten 2021-10-15 15:22:21 -07:00
parent 210a19d12c
commit 18618c9c2a
1 changed files with 1 additions and 1 deletions

View File

@ -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";