use add-to-load-path instead of -L

This commit is contained in:
Skylar "The Cobra" Astaroth 2026-03-22 08:17:23 -04:00
commit be50e6e354
No known key found for this signature in database
GPG key ID: BA264FFE0FF18555
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -15,6 +15,8 @@
;; You should have received a copy of the GNU Affero General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
(add-to-load-path (dirname (current-filename)))
(define-module (nerd)
#:use-module (nerd pages)
#:use-module (web server)