Move from learn-go-with-tests
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
18bde5d382
commit
b7c3fffbaa
10 changed files with 213 additions and 0 deletions
18
learn-go-with-tests/flake-modules/dev-shell.nix
Normal file
18
learn-go-with-tests/flake-modules/dev-shell.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.devshell.flakeModule
|
||||
];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devshells.default = {
|
||||
packages = with pkgs; [
|
||||
go
|
||||
gopls
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
3
learn-go-with-tests/flake-modules/systems.nix
Normal file
3
learn-go-with-tests/flake-modules/systems.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
systems = [ "x86_64-linux" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue