mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 12:41:54 +03:00
Update deps, add nixos and devenv
This commit is contained in:
23
devenv.nix
Normal file
23
devenv.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
pkgs,
|
||||
nixpkgs_stable,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
packages = [
|
||||
pkgs.git
|
||||
pkgs.go_1_23
|
||||
];
|
||||
|
||||
enterShell = ''
|
||||
git --version
|
||||
go version
|
||||
'';
|
||||
|
||||
enterTest = ''
|
||||
echo "Running tests"
|
||||
go test -race ./...
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user