aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry
diff options
context:
space:
mode:
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";