plugins/conform: add linuxOnly state
Some checks failed
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
Documentation / Version info (push) Has been cancelled
Documentation / Build (push) Has been cancelled
Documentation / Combine builds (push) Has been cancelled
Documentation / Deploy (push) Has been cancelled
Some checks failed
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
Documentation / Version info (push) Has been cancelled
Documentation / Build (push) Has been cancelled
Documentation / Combine builds (push) Has been cancelled
Documentation / Deploy (push) Has been cancelled
Just make it easier to gate linux state eventually, similar to darwin state.
This commit is contained in:
parent
5a6eda5aa1
commit
21ae25e13b
1 changed files with 4 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ let
|
|||
states = {
|
||||
broken = _package: "broken";
|
||||
darwinOnly = p: if stdenv.hostPlatform.isDarwin then p else "Darwin only";
|
||||
linuxOnly = p: if stdenv.hostPlatform.isLinux then p else "Linux only";
|
||||
unpackaged = "unpackaged";
|
||||
};
|
||||
in
|
||||
|
|
@ -115,7 +116,7 @@ in
|
|||
inherit (ocamlPackages) ocp-indent;
|
||||
odinfmt = ols;
|
||||
# TODO: added 2026-02-08 broken on darwin
|
||||
opa_fmt = if stdenv.isDarwin then states.broken open-policy-agent else open-policy-agent;
|
||||
opa_fmt = states.linuxOnly open-policy-agent;
|
||||
perltidy = perlPackages.PerlTidy;
|
||||
pg_format = pgformatter;
|
||||
phpcbf = php84Packages.php-codesniffer;
|
||||
|
|
@ -126,9 +127,9 @@ in
|
|||
inherit (python313Packages) python-ly;
|
||||
qmlformat = libsForQt5.qt5.qtdeclarative;
|
||||
# TODO: added 2026-02-08 marked unsupported on darwin
|
||||
racketfmt = if stdenv.hostPlatform.isLinux then racket else states.broken racket;
|
||||
racketfmt = states.linuxOnly racket;
|
||||
inherit (python313Packages) reorder-python-imports;
|
||||
roc = if stdenv.isDarwin then states.broken roc else roc;
|
||||
roc = states.linuxOnly roc;
|
||||
ruff_fix = ruff;
|
||||
ruff_format = ruff;
|
||||
ruff_organize_imports = ruff;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue