Fix Nix eval warnings (#112)

* runCommandNoCC -> runCommand

* drop x86_64-darwin

* use upstream hercules-ci-effects

* flake.lock: Update

Flake lock file updates:

• Updated input 'hercules-ci-effects':
    'github:max-privatevoid/hercules-ci-effects/f3a32947c119cfe0f0130ad91b37028a3dae22d1?narHash=sha256-3A2B8k6YCuzt5pT/CQEltUghtE6heSlk2tMYkg/fUWI%3D' (2026-04-15)
  → 'github:hercules-ci/hercules-ci-effects/af4331c44f13977b6964745454eadcfee2d244d1?narHash=sha256-OOEWyt8ma7QAysDbiP65J7li7KIdtZfnbA11gFnwyEI%3D' (2026-05-16)
This commit is contained in:
Max 2026-05-22 22:54:48 +02:00 committed by GitHub
parent 769c101a1f
commit 71eeca5801
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 10 deletions

View File

@ -16,11 +16,11 @@
};
in
{
format-nix = pkgs.runCommandNoCC "format-nix" { } ''
format-nix = pkgs.runCommand "format-nix" { } ''
${lib.getExe config.formatter} -c ${filesWithExtension "nix"}
touch $out
'';
format-go = pkgs.runCommandNoCC "format-go" { } ''
format-go = pkgs.runCommand "format-go" { } ''
test "$(${lib.getExe' pkgs.go "gofmt"} -l ${filesWithExtension "go"} | tee /dev/stderr | wc -l)" == 0
touch $out
'';

View File

@ -30,16 +30,15 @@
]
},
"locked": {
"lastModified": 1776270251,
"narHash": "sha256-3A2B8k6YCuzt5pT/CQEltUghtE6heSlk2tMYkg/fUWI=",
"owner": "max-privatevoid",
"lastModified": 1778930899,
"narHash": "sha256-OOEWyt8ma7QAysDbiP65J7li7KIdtZfnbA11gFnwyEI=",
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"rev": "f3a32947c119cfe0f0130ad91b37028a3dae22d1",
"rev": "af4331c44f13977b6964745454eadcfee2d244d1",
"type": "github"
},
"original": {
"owner": "max-privatevoid",
"ref": "pr/skip-if-exists",
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"type": "github"
}

View File

@ -8,7 +8,7 @@
inputs.nixpkgs-lib.follows = "nixpkgs";
};
hercules-ci-effects = {
url = "github:max-privatevoid/hercules-ci-effects/pr/skip-if-exists";
url = "github:hercules-ci/hercules-ci-effects";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
@ -27,7 +27,6 @@
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
herculesCI.ciSystems = [
"x86_64-linux"