fix: make checks run successfully
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Build, Push, and Deploy / build (push) Failing after 12m53s
Build, Push, and Deploy / deploy (push) Has been skipped
Build, Push, and Deploy / push (push) Has been skipped

This commit is contained in:
Greg Hellings
2026-06-11 16:40:24 -05:00
parent 9af8b582ef
commit 044a1d8c1e
+28 -5
View File
@@ -10,7 +10,8 @@
treefmt-nix.url = "github:numtide/treefmt-nix";
};
outputs = { devshell, flake-parts, flake-root, process-compose, treefmt-nix, ... }@inputs:
outputs =
{ flake-parts, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.devshell.flakeModule
@@ -26,9 +27,17 @@
"x86_64-linux"
"aarch64-linux"
];
perSystem = { config, pkgs, self', ... }: let
perSystem =
{
config,
pkgs,
self',
...
}:
let
lib = pkgs.lib;
in {
in
{
# https://numtide.github.io/devshell/intro.html
devshells.default = {
commands = [
@@ -63,7 +72,11 @@
dockerTools.fakeNss
nginx
];
pathsToLink = [ "/bin" "/etc" "/var" ];
pathsToLink = [
"/bin"
"/etc"
"/var"
];
})
];
fakeRootCommands = ''
@@ -71,7 +84,13 @@
chmod 0777 tmp
'';
config = {
Cmd = [ (lib.getExe pkgs.nginx) "-c" self'.packages.nginx-config "-e" "stderr" ];
Cmd = [
(lib.getExe pkgs.nginx)
"-c"
self'.packages.nginx-config
"-e"
"stderr"
];
Port = [ 80 ];
};
};
@@ -140,6 +159,10 @@
settings.formatter = {
};
};
checks = {
inherit (self'.packages) default;
};
};
};
}