From 65105e9b7942ceccb4da14bccaec2e781821cf0c Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 5 Aug 2022 20:52:51 -0400 Subject: Load asdf before loading the target file Asdf is required in order to load any third-party packages. --- Biz/Bild.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Biz') diff --git a/Biz/Bild.hs b/Biz/Bild.hs index 5af1676..68aa971 100644 --- a/Biz/Bild.hs +++ b/Biz/Bild.hs @@ -439,10 +439,10 @@ analyze hmap ns = case Map.lookup ns hmap of compilerFlags = map Text.pack - [ "--load", - path, - "--eval", + [ "--eval", "(require :asdf)", + "--load", + path, "--eval", "(sb-ext:save-lisp-and-die #p\"" <> (root outToPath out) <> "\" :toplevel #'main :executable t)" ], -- cgit v1.2.3