Skip to content

Commit

Permalink
update to current go
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-m committed Oct 23, 2024
1 parent 8244b68 commit f8be80d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.PHONY: format lint test test_vk test_more bench bench_vk check build_host build_host_vk build_arm64 docker_build docker_lint docker_test docker_test_more docker_bench clean run_confighelper run_camera run_videofile list

# https://hub.docker.com/_/debian
DOCKER_BASE_IMAGE = debian:bullseye-20240926
DOCKER_BASE_IMAGE = debian:bullseye-20241016
# https://go.dev/dl/
GO_VERSION = 1.22.6
GO_ARCHIVE_SHA256 = 999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616
GO_VERSION = 1.23.2
GO_ARCHIVE_SHA256 = 542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e
# https://github.com/dominikh/go-tools/releases
GO_STATICCHECK_VERSION = 2024.1.1
# https://github.com/mgechev/revive/releases
Expand Down
19 changes: 18 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};

outputs = {
self,
nixpkgs,
unstable,
} @ inputs: let
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = import inputs.nixpkgs {
system = system;
};
unstablePkgs = import inputs.unstable {
system = system;
};
in {
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;

Expand All @@ -26,7 +31,7 @@
clang-tools
gnumake
curl
go
unstablePkgs.go

# Cross
pkgsCross.aarch64-multiplatform.buildPackages.gcc # Provides aarch64-unknown-linux-gnu-gcc
Expand Down

0 comments on commit f8be80d

Please sign in to comment.