summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-08-05 20:52:51 -0400
committerBen Sima <ben@bsima.me>2022-08-05 20:52:51 -0400
commit65105e9b7942ceccb4da14bccaec2e781821cf0c (patch)
tree97f8efb790ac02caacce0327985504bf24acc553 /Biz
parent985da04a702f78fd569e62a8df119adb72b9d537 (diff)
Load asdf before loading the target file
Asdf is required in order to load any third-party packages.
Diffstat (limited to 'Biz')
-rw-r--r--Biz/Bild.hs6
1 files changed, 3 insertions, 3 deletions
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)"
],