diff --git a/flake.nix b/flake.nix index 5fb6946..3c955a1 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,13 @@ subPackages = [ "cmd/nixos-options" ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + + postInstall = '' + wrapProgram $out/bin/nixos-options \ + --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.nix ]} + ''; + meta = with pkgs.lib; { description = "MCP server for NixOS options search and query"; homepage = "https://git.t-juice.club/torjus/labmcp";