Replaced 'builtins.readFile' with 'lib.fileContents'.
This commit is contained in:
parent
a3929a8ec5
commit
097981466e
4 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
|
@ -9,7 +9,7 @@
|
|||
extraOptions = ''
|
||||
build-timeout = 86400 # 24 hours
|
||||
'';
|
||||
binaryCachePublicKeys = [ (builtins.readFile /secret/hydra_cache.pub) ];
|
||||
binaryCachePublicKeys = [ (lib.fileContents /secret/hydra_cache.pub) ];
|
||||
trustedBinaryCaches = [
|
||||
"https://cache.nixos.org"
|
||||
"https://cache.ophanim.de"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue