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"; 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; } { flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ imports = [
inputs.devshell.flakeModule inputs.devshell.flakeModule
@@ -26,9 +27,17 @@
"x86_64-linux" "x86_64-linux"
"aarch64-linux" "aarch64-linux"
]; ];
perSystem = { config, pkgs, self', ... }: let perSystem =
{
config,
pkgs,
self',
...
}:
let
lib = pkgs.lib; lib = pkgs.lib;
in { in
{
# https://numtide.github.io/devshell/intro.html # https://numtide.github.io/devshell/intro.html
devshells.default = { devshells.default = {
commands = [ commands = [
@@ -63,7 +72,11 @@
dockerTools.fakeNss dockerTools.fakeNss
nginx nginx
]; ];
pathsToLink = [ "/bin" "/etc" "/var" ]; pathsToLink = [
"/bin"
"/etc"
"/var"
];
}) })
]; ];
fakeRootCommands = '' fakeRootCommands = ''
@@ -71,7 +84,13 @@
chmod 0777 tmp chmod 0777 tmp
''; '';
config = { 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 ]; Port = [ 80 ];
}; };
}; };
@@ -140,6 +159,10 @@
settings.formatter = { settings.formatter = {
}; };
}; };
checks = {
inherit (self'.packages) default;
};
}; };
}; };
} }