Closed carlossless closed 10 months ago
Changes here enable easy distribution of this tool as a nix flake.
Usage example:
{ inputs = { flake-utils.url = "github:numtide/flake-utils"; sinowealth-kb-tool.url = "github:carlossless/sinowealth-kb-tool"; }; outputs = { self, nixpkgs, flake-utils, sinowealth-kb-tool }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ sinowealth-kb-tool.packages."${system}".default ]; }; } ); }
Changes here enable easy distribution of this tool as a nix flake.
Usage example: