From a9b4dd348bc0f439c4f6b0a1e01074112bc7ab52 Mon Sep 17 00:00:00 2001 From: Denperidge Date: Thu, 9 Jan 2025 20:16:45 +0100 Subject: [PATCH 1/2] [feat] Added shell.nix --- shell.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 000000000..d43047b9c --- /dev/null +++ b/shell.nix @@ -0,0 +1,23 @@ +{ pkgs ? import {} }: + +/* +nix shell for development usage +1. run `nix-shell` +2. run `make run` (or any other make scripts) +Done! +*/ + +(pkgs.buildFHSEnv { + name = "searxng"; + multiPkgs = pkgs: (with pkgs; [ + bash + wget + gnumake + git + python3 + geckodriver + shellcheck + ]); + runScript = "bash"; +}).env + From 887f343bd6a5948cc162f6f65326d83ea95a898b Mon Sep 17 00:00:00 2001 From: Cat Date: Fri, 10 Jan 2025 15:32:46 +0100 Subject: [PATCH 2/2] [enh] shell.nix: bash -> bashInteractive Co-authored-by: Sandro --- shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index d43047b9c..634ebfc14 100644 --- a/shell.nix +++ b/shell.nix @@ -10,7 +10,7 @@ Done! (pkgs.buildFHSEnv { name = "searxng"; multiPkgs = pkgs: (with pkgs; [ - bash + bashInteractive wget gnumake git