depot/third_party/nixpkgs/pkgs/applications/window-managers/stumpwm/fix-module-path.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

16 lines
442 B
Diff

diff --git a/make-image.lisp.in b/make-image.lisp.in
index 121e9d6..2210242 100644
--- a/make-image.lisp.in
+++ b/make-image.lisp.in
@@ -2,7 +2,10 @@
(load "load-stumpwm.lisp")
-#-ecl (stumpwm:set-module-dir "@CONTRIB_DIR@")
+(setf asdf::*immutable-systems*
+ (uiop:list-to-hash-set (asdf:already-loaded-systems)))
+
+#-ecl (stumpwm:set-module-dir "@MODULE_DIR@")
#+sbcl
(sb-ext:save-lisp-and-die "stumpwm" :toplevel (lambda ()