nixos/influxdb: Fix cross compilation for config.toml
This commit is contained in:
parent
07ee93716c
commit
b154b6f7d8
1 changed files with 2 additions and 3 deletions
|
@ -96,9 +96,8 @@ let
|
|||
};
|
||||
} cfg.extraConfig;
|
||||
|
||||
configFile = pkgs.runCommand "config.toml" {
|
||||
buildInputs = [ pkgs.remarshal ];
|
||||
preferLocalBuild = true;
|
||||
configFile = pkgs.runCommandLocal "config.toml" {
|
||||
nativeBuildInputs = [ pkgs.remarshal ];
|
||||
} ''
|
||||
remarshal -if json -of toml \
|
||||
< ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \
|
||||
|
|
Loading…
Reference in a new issue