tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
nixos/influx: Fix cross compilation for configFile
Christian Kögler
3 years ago
330bc02b
f71081ca
+2
-4
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
databases
influxdb.nix
+2
-4
nixos/modules/services/databases/influxdb.nix
···
96
96
};
97
97
} cfg.extraConfig;
98
98
99
99
-
configFile = pkgs.runCommandLocal "config.toml" {
100
100
-
nativeBuildInputs = [ pkgs.remarshal ];
101
101
-
} ''
102
102
-
remarshal -if json -of toml \
99
99
+
configFile = pkgs.runCommandLocal "config.toml" { } ''
100
100
+
${pkgs.buildPackages.remarshal}/bin/remarshal -if json -of toml \
103
101
< ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \
104
102
> $out
105
103
'';