diff options
author | Ben Sima <ben@bsima.me> | 2022-08-05 20:52:51 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-08-05 20:52:51 -0400 |
commit | 65105e9b7942ceccb4da14bccaec2e781821cf0c (patch) | |
tree | 97f8efb790ac02caacce0327985504bf24acc553 | |
parent | 985da04a702f78fd569e62a8df119adb72b9d537 (diff) |
Load asdf before loading the target file
Asdf is required in order to load any third-party packages.
-rw-r--r-- | Biz/Bild.hs | 6 |
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)" ], |