Skip to content

Commit

Permalink
makefile: Ensure Nyxt's NASDF is found first.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed May 12, 2023
1 parent e76e144 commit c0d6f95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ help:

makefile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

## Ensure that Nyxt's NASDF is found before any other (like in ~/common-lisp).
## TODO: Can we factorize this somehow? We do this with nasdf/submodules, but
## what then when not using submodules?
export CL_SOURCE_REGISTRY := $(makefile_dir)libraries/nasdf/:$(CL_SOURCE_REGISTRY)

# The CFFI-specific snippet is useful when running in a Guix environment to register its libraries in CFFI.
# TODO: Find a better way to do it.
lisp_eval:=$(LISP) $(LISP_FLAGS) \
Expand Down

0 comments on commit c0d6f95

Please sign in to comment.