Added rendering stuff, updated go mod

This commit is contained in:
2024-08-08 18:51:51 -06:00
parent f7eaa0d08d
commit d426892e6a
9 changed files with 447 additions and 3 deletions
+9
View File
@@ -2,15 +2,22 @@
description = "An example project using flutter";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.gomod2nix = {
url = "github:tweag/gomod2nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "utils";
};
outputs = {
self,
flake-utils,
nixpkgs,
gomod2nix,
...
} @ inputs:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [ gomod2nix.overlays.default ];
};
in {
devShell = pkgs.mkShell {
@@ -19,6 +26,8 @@
gopls
gotools
go-tools
gomod2nix.packages.${system}.default
sqlite-interactive
];
};
});