all repos — searchix @ 895a3b061bb4717955ffbceab3bf3c6ecebacd70

Search engine for NixOS, nix-darwin, home-manager and NUR users

build: switch to flakes

Alan Pearce
commit

895a3b061bb4717955ffbceab3bf3c6ecebacd70

parent

7077a3748fa545e8dee83d4f3464c55b4b459183

1 file changed, 21 insertions(+), 0 deletions(-)

changed files
A nix/dev-shell.nix
@@ -0,0 +1,21 @@
+{ pre-commit-check +, mkGoEnv +, gomod2nix +, mkShell +, pkgs +}: +let + goEnv = mkGoEnv { pwd = ../.; }; +in +mkShell { + packages = with pkgs; [ + goEnv + + brotli + bleve + wgo + gomod2nix + nixpkgs-lint + ] ++ pre-commit-check.enabledPackages; + inherit (pre-commit-check) shellHook; +}