this derivation will be built: /nix/store/1x70nvls08143962mg4k8w1vp0fri3ms-treefmt-check.drv building '/nix/store/1x70nvls08143962mg4k8w1vp0fri3ms-treefmt-check.drv' treefmt-check> treefmt v2.5.0traversed 419 files treefmt-check> emitted 412 files for processing treefmt-check> formatted 412 files (2 changed) in 1.387s treefmt-check> M flake.nix treefmt-check> M hosts/marvin/services/nixbot.nix treefmt-check> diff --git a/flake.nix b/flake.nix treefmt-check> index f948b5a..779383b 100644 treefmt-check> --- a/flake.nix treefmt-check> +++ b/flake.nix treefmt-check> @@ -182,12 +182,9 @@ treefmt-check> # Export all outputs as checks for nixbot treefmt-check> checks = treefmt-check> let treefmt-check> - nixosMachines = treefmt-check> - lib.mapAttrs' (name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel) treefmt-check> - ( treefmt-check> - (lib.filterAttrs (_: config: config.pkgs.stdenv.hostPlatform.system == system)) treefmt-check> - inputs.self.nixosConfigurations treefmt-check> - ); treefmt-check> + nixosMachines = lib.mapAttrs' (name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel) ( treefmt-check> + (lib.filterAttrs (_: config: config.pkgs.stdenv.hostPlatform.system == system)) inputs.self.nixosConfigurations treefmt-check> + ); treefmt-check> packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages; treefmt-check> in treefmt-check> nixosMachines // packages; treefmt-check> diff --git a/hosts/marvin/services/nixbot.nix b/hosts/marvin/services/nixbot.nix treefmt-check> index fb13c51..b5d43d7 100644 treefmt-check> --- a/hosts/marvin/services/nixbot.nix treefmt-check> +++ b/hosts/marvin/services/nixbot.nix treefmt-check> @@ -12,7 +12,7 @@ in treefmt-check> services.nixbot = { treefmt-check> enable = true; treefmt-check> domain = d.extUrl; treefmt-check> - port = d.port; treefmt-check> + inherit (d) port; treefmt-check> useHTTPS = true; treefmt-check> nginx.enable = false; treefmt-check> evalMaxMemorySize = 4096; error: Cannot build '/nix/store/1x70nvls08143962mg4k8w1vp0fri3ms-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/7vms4q0bz56sczj7n9xx4pf8hwk2gv5b-treefmt-check Last 20 log lines: > - ); > + nixosMachines = lib.mapAttrs' (name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel) ( > + (lib.filterAttrs (_: config: config.pkgs.stdenv.hostPlatform.system == system)) inputs.self.nixosConfigurations > + ); > packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages; > in > nixosMachines // packages; > diff --git a/hosts/marvin/services/nixbot.nix b/hosts/marvin/services/nixbot.nix > index fb13c51..b5d43d7 100644 > --- a/hosts/marvin/services/nixbot.nix > +++ b/hosts/marvin/services/nixbot.nix > @@ -12,7 +12,7 @@ in > services.nixbot = { > enable = true; > domain = d.extUrl; > - port = d.port; > + inherit (d) port; > useHTTPS = true; > nginx.enable = false; > evalMaxMemorySize = 4096; For full logs, run: nix log /nix/store/1x70nvls08143962mg4k8w1vp0fri3ms-treefmt-check.drv