From be50e6e354df361561a846942e078b91323e4f5c Mon Sep 17 00:00:00 2001 From: "Skylar \"The Cobra\" Astaroth" Date: Sun, 22 Mar 2026 08:17:23 -0400 Subject: [PATCH] use add-to-load-path instead of -L --- README.md | 2 +- nerd.scm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 01bbd52..6d160d0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You will need need `guile`, `guile-gnutls`, and `guile-lib`. ## Running 0. Install the dependencies 1. Clone the repository using `git clone https://git.vern.cc/cobra/NerdsforNerds` -2. Run `guile -L . nerd.scm` +2. Run `guile nerd.scm` 3. Connect to http://localhost:8006 (or point your reverse proxy to it) 4. Profit diff --git a/nerd.scm b/nerd.scm index 930ce2c..c5596fc 100644 --- a/nerd.scm +++ b/nerd.scm @@ -15,6 +15,8 @@ ;; You should have received a copy of the GNU Affero General Public License ;; along with this program. If not, see . +(add-to-load-path (dirname (current-filename))) + (define-module (nerd) #:use-module (nerd pages) #:use-module (web server)