Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nixos/influx: Fix cross compilation for configFile

+2 -4
+2 -4
nixos/modules/services/databases/influxdb.nix
··· 96 96 }; 97 97 } cfg.extraConfig; 98 98 99 - configFile = pkgs.runCommandLocal "config.toml" { 100 - nativeBuildInputs = [ pkgs.remarshal ]; 101 - } '' 102 - remarshal -if json -of toml \ 99 + configFile = pkgs.runCommandLocal "config.toml" { } '' 100 + ${pkgs.buildPackages.remarshal}/bin/remarshal -if json -of toml \ 103 101 < ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \ 104 102 > $out 105 103 '';