Added embed, nix, and a makefile

This commit is contained in:
2026-04-28 14:34:20 -06:00
parent 85a2a3116b
commit 73aff92505
5 changed files with 62 additions and 4 deletions
+39
View File
@@ -0,0 +1,39 @@
{
description = "SprintPadawan Go 1.26 development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.go
pkgs.gopls
pkgs.gotools
pkgs.go-tools
pkgs.gnumake
];
shellHook = ''
echo "SprintPadawan Dev Environment Loaded"
go version
'';
};
}
);
}