This commit is contained in:
jopejoe1 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 = outputs =
inputs@{ self, nixpkgs, treefmt-nix, ... }: inputs@{
self,
nixpkgs,
treefmt-nix,
...
}:
let let
forSystems = f: nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: f system); forSystems = f: nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: f system);
pkgs' = system: nixpkgs.legacyPackages.${system}; pkgs' = system: nixpkgs.legacyPackages.${system};
@ -101,9 +106,7 @@
pkgs = pkgs' system; pkgs = pkgs' system;
} }
); );
formatter = forSystems ( formatter = forSystems (system: (treefmtEval system).config.build.wrapper);
system: (treefmtEval system).config.build.wrapper
);
checks = forSystems (system: { checks = forSystems (system: {
formatting = (treefmtEval system).config.build.check self; formatting = (treefmtEval system).config.build.check self;
}); });

View file

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

View file

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

View file

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