From 0ab550c92f3b646b0bd829c44ddff29289ef1afc Mon Sep 17 00:00:00 2001 From: "Andre A. Gomes" Date: Tue, 12 Mar 2024 12:43:45 +0200 Subject: [PATCH] makefile: Delete CFFI logic. See c2493e7b2f49d29872e01718e0cb41b95ccfe7a0. --- makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/makefile b/makefile index bcde4ee38d4..2160d577848 100644 --- a/makefile +++ b/makefile @@ -33,14 +33,11 @@ help: makefile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) -# The CFFI-specific snippet is useful when running in a Guix shell to register its libraries in CFFI. -# TODO: Find a better way to do it. lisp_eval:=$(LISP) $(LISP_FLAGS) \ --eval '(require "asdf")' \ --eval '(when (string= "$(NYXT_SUBMODULES)" "true") (setf asdf:*default-source-registries* (list (quote asdf/source-registry:environment-source-registry))) (asdf:clear-configuration) (asdf:load-asd "$(makefile_dir)/libraries/nasdf/nasdf.asd") (asdf:load-asd "$(makefile_dir)/nyxt.asd") (asdf:load-system :nyxt/submodules))' \ --eval '(asdf:load-asd "$(makefile_dir)/libraries/nasdf/nasdf.asd")' \ --eval '(asdf:load-asd "$(makefile_dir)/nyxt.asd")' \ - --eval '(when (and (find-package :cffi) (uiop:getenv "GUIX_ENVIRONMENT")) (pushnew (pathname (format nil "~a/lib/" (uiop:getenv "GUIX_ENVIRONMENT"))) (symbol-value (read-from-string "cffi:*foreign-library-directories*" )) :test (quote equal)))' \ --eval lisp_quit:=--eval '(uiop:quit)'