Something went wrong. Try again.
hackzurich 2023: finch - a simple neural net framework and visualizer that uses genetic networks to train
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ inputs = { nixpkgs.url = "flake:nixpkgs/nixpkgs-unstable"; flake-utils.url = "flake:flake-utils"; gomod2nix = { url = "github:nix-community/gomod2nix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils"; }; };
outputs = { self , nixpkgs , flake-utils , gomod2nix , ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; overlays = [ gomod2nix.overlays.default ]; };
lib = pkgs.lib;
finch = pkgs.buildGoApplication rec { name = "finch"; src = lib.cleanSource ./.; modules = ./gomod2nix.toml; }; in { packages.default = finch;
devShells.default = pkgs.mkShell { packages = with pkgs; [ go_1_21 gopls delve gomod2nix.packages.${system}.default ]; };
formatter = pkgs.nixpkgs-fmt; } );}