fix: formatting opencode module

This commit is contained in:
sascha.koenig
2026-04-03 08:31:15 +02:00
parent df3c1f6e70
commit cd3c5ed9ad
3 changed files with 12 additions and 7 deletions

7
flake.lock generated
View File

@@ -7,15 +7,16 @@
]
},
"locked": {
"lastModified": 1774983166,
"narHash": "sha256-qQY+Ltowi0MRnqvRVNFJcwIn6niTnfLbgdNRjIxRNbY=",
"lastModified": 1774505501,
"narHash": "sha256-7UiRrDptj7yuEFwToOfdunUMz/i3jRLR7CmMoYQjq6k=",
"owner": "basecamp",
"repo": "basecamp-cli",
"rev": "4c6860be033f9f7b4ade38076ce00bcd976f85fa",
"rev": "f087e6ef84002503d0dbc75ea1c8c928a8928d9e",
"type": "github"
},
"original": {
"owner": "basecamp",
"ref": "v0.7.2",
"repo": "basecamp-cli",
"type": "github"
}

View File

@@ -108,10 +108,13 @@ in {
source = cfg.agentsInput.lib.mkOpencodeSkills {
inherit pkgs;
customSkills = "${cfg.agentsInput}/skills";
externalSkills = map (entry:
externalSkills =
map (
entry:
{inherit (entry) src skillsDir;}
// optionalAttrs (entry.selectSkills != null) {inherit (entry) selectSkills;}
) cfg.externalSkills;
)
cfg.externalSkills;
};
};

View File

@@ -22,6 +22,7 @@ in {
kestractl = pkgs.callPackage ./kestractl {};
openshell = pkgs.callPackage ./openshell {};
zellij-ps = pkgs.callPackage ./zellij-ps {};
openwork = pkgs.callPackage ./openwork {};
# Imported from flake inputs (pass-through, no modifications)
basecamp = inputs.basecamp.packages.${system}.default;