aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-10-07 20:39:57 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-11-27 19:40:47 -0500
commite37589f5f5253d81c62f8846dbf721c23fe48d44 (patch)
treef6a92b74b3b82453f7bce68b33647a428d144624 /sundry
parentsqlite related internal naming (diff)
configuration, hierarchy filenames & paths ...
Diffstat (limited to 'sundry')
-rwxr-xr-xsundry/spine_search_cgi/shell.nix38
-rw-r--r--sundry/spine_search_cgi/views/configuration_example.txt (renamed from sundry/spine_search_cgi/views/configuration_suggested.txt)2
2 files changed, 19 insertions, 21 deletions
diff --git a/sundry/spine_search_cgi/shell.nix b/sundry/spine_search_cgi/shell.nix
index 5926e62..55ca4ae 100755
--- a/sundry/spine_search_cgi/shell.nix
+++ b/sundry/spine_search_cgi/shell.nix
@@ -1,26 +1,24 @@
#!/usr/bin/env -S nix-shell --pure
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
- buildInputs = with pkgs; [(
- with pkgs; [
- # nix_related
- nixFlakes
- nix-prefetch-git
- validatePkgConfig
- jq
- git
- # d_build_related
- rund
- dub
- ldc
- #meson
- # search_sqlite_related
- # search related
- sqlite
- # candy
- starship
- ]
- )];
+ buildInputs = with pkgs; [
+ # nix_related
+ nixFlakes
+ nix-prefetch-git
+ validatePkgConfig
+ jq
+ git
+ # d_build_related
+ rund
+ dub
+ ldc
+ #meson
+ # search_sqlite_related
+ # search related
+ sqlite
+ # candy
+ starship
+ ];
shellHook = ''
if [[ -e ".envrc" ]]; then
source .envrc
diff --git a/sundry/spine_search_cgi/views/configuration_suggested.txt b/sundry/spine_search_cgi/views/configuration_example.txt
index 5ba5175..3552861 100644
--- a/sundry/spine_search_cgi/views/configuration_suggested.txt
+++ b/sundry/spine_search_cgi/views/configuration_example.txt
@@ -3,7 +3,7 @@ struct Cfg {
string http_request_type = "http";
string http_host = "localhost";
string www_url_doc_root = "http://localhost";
- string www_doc_root = "/srv/www/spine/static";
+ string www_doc_root = "/srv/www/spine";
string cgi_bin_subpath = "/cgi-bin";
string cgi_filename = "spine_search"; // "spine-search"
string cgi_search_form_title = "≅ SiSU Spine search";