all repos — searchix @ 7ad48953a4d9470d2f4fe89343c0b09bff410c58

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

chore: initial commit

Alan Pearce
commit

7ad48953a4d9470d2f4fe89343c0b09bff410c58

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

changed files
A shell.nix
@@ -0,0 +1,33 @@
+{ pkgs ? ( + let + sources = import ./nix/sources.nix; + in + import sources.nixpkgs { + overlays = [ + (import "${sources.gomod2nix}/overlay.nix") + ]; + } + ) +}: + +let + goEnv = pkgs.mkGoEnv { pwd = ./.; }; + searchix = import ./default.nix { + inherit pkgs; + }; +in +pkgs.mkShell { + packages = with pkgs; [ + goEnv + + gomod2nix + niv + nixpkgs-lint + + bun + ]; + shellHook = '' + ${searchix.pre-commit-check.shellHook} + ''; + buildInputs = searchix.pre-commit-check.enabledPackages; +}