mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[feat] Added shell.nix
This commit is contained in:
parent
6dab7fe78b
commit
a9b4dd348b
1 changed files with 23 additions and 0 deletions
23
shell.nix
Normal file
23
shell.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
/*
|
||||||
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue