all repos — elgit @ 5dd02b8ec94b6837c0c8b01a503ae52695febbdf

fork of legit: web frontend for git, written in go

pin go version in shell to avoid issues with golangci-lint

Alin
commit

5dd02b8ec94b6837c0c8b01a503ae52695febbdf

parent

f545ed05f6cbbcbcc5c7bce118ea4b0a2d70b8a7

2 files changed, 7 insertions(+), 1 deletion(-)

changed files
M flake.nixflake.nix
@@ -36,10 +36,12 @@ devShells = forAllSystems (
system: let pkgs = import nixpkgs { inherit system; }; + go = pkgs.go_1_26; in { default = pkgs.callPackage ./nix/shell.nix { inherit (gomod2nix.legacyPackages.${system}) mkGoEnv gomod2nix; + inherit go; }; } );
M nix/shell.nixnix/shell.nix
@@ -12,10 +12,14 @@ }
), mkGoEnv ? pkgs.mkGoEnv, gomod2nix ? pkgs.gomod2nix, + go ? pkgs.go, }: let - goEnv = mkGoEnv { pwd = ../.; }; + goEnv = mkGoEnv { + inherit go; + pwd = ../.; + }; in pkgs.mkShell { packages = with pkgs; [