File tree Expand file tree Collapse file tree 11 files changed +3
-1154
lines changed
Expand file tree Collapse file tree 11 files changed +3
-1154
lines changed Original file line number Diff line number Diff line change 4242
4343 justix = {
4444 enable = true ;
45- mcpServer . enable = true ;
4645 justfile . config = {
4746 recipes = {
4847 default = {
Original file line number Diff line number Diff line change 1414 {
1515 options . justix = {
1616 enable = lib . mkEnableOption "justix" ;
17- mcpServer . enable = lib . mkEnableOption "a justfile MCP server" ;
1817
1918 just . package = lib . mkPackageOption pkgs "just" { } ;
2019
4948 enterShell = ''
5049 ln --force --symbolic ${ cfg . justfile . finalPackage } ${ config . devenv . root } /.justfile
5150 '' ;
52-
53- claude . code . mcpServers = lib . mkIf cfg . mcpServer . enable {
54- justix-mcp = {
55- type = "stdio" ;
56- command = lib . getExe ( getSystem pkgs . stdenv . hostPlatform . system ) . packages . mcp ;
57- } ;
58- } ;
5951 } )
6052
6153 ( lib . mkIf ( ! cfg . enable ) {
Original file line number Diff line number Diff line change 22{
33 perSystem =
44 {
5- inputs' ,
65 pkgs ,
76 system ,
87 ...
98 } :
109 {
11- packages =
12- let
13- inherit ( inputs . nixpkgs-just . legacyPackages . ${ system } ) just ;
14- in
15- {
16- justfile = pkgs . callPackage ./justfile.nix {
17- inherit just ;
18- } ;
19- mcp = pkgs . callPackage ./mcp {
20- inherit ( inputs' . bun2nix . packages ) bun2nix ;
21- } ;
22- } ;
10+ packages . justfile = pkgs . callPackage ./justfile.nix {
11+ inherit ( inputs . nixpkgs-just . legacyPackages . ${ system } ) just ;
12+ } ;
2313 } ;
2414}
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments