This commit is contained in:
Johannes Jöns 2024-08-08 21:08:25 +02:00
parent 55aeca7389
commit d206479a6d
4 changed files with 16 additions and 12 deletions

View file

@ -83,7 +83,12 @@
};
outputs =
inputs@{ self, nixpkgs, treefmt-nix, ... }:
inputs@{
self,
nixpkgs,
treefmt-nix,
...
}:
let
forSystems = f: nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: f system);
pkgs' = system: nixpkgs.legacyPackages.${system};
@ -101,10 +106,8 @@
pkgs = pkgs' system;
}
);
formatter = forSystems (
system: (treefmtEval system).config.build.wrapper
);
checks = forSystems ( system: {
formatter = forSystems (system: (treefmtEval system).config.build.wrapper);
checks = forSystems (system: {
formatting = (treefmtEval system).config.build.check self;
});
};

View file

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.jopejoe1.common;

View file

@ -1,6 +1,4 @@
{ ... }:
{
imports = [
./jopejoe1
];
imports = [ ./jopejoe1 ];
}

View file

@ -51,9 +51,7 @@ in
};
buildMachines = [
{
systems = [
"x86_64-linux"
];
systems = [ "x86_64-linux" ];
supportedFeatures = [
"kvm"
"big-parallel"