fixed issue with postinstall
This commit is contained in:
parent
db3d9a79d7
commit
561f0f54e1
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ class MsgCli < Formula
|
|||
end
|
||||
|
||||
def post_install
|
||||
ENV["GUILE_AUTO_COMPILE"] = "0"
|
||||
|
||||
# We need this so we can find other modules.
|
||||
ENV["GUILE_LOAD_PATH"] = HOMEBREW_PREFIX/"share/guile/site/3.0"
|
||||
ENV["GUILE_LOAD_COMPILED_PATH"] = HOMEBREW_PREFIX/"lib/guile/3.0/site-ccache"
|
||||
ENV["GUILE_SYSTEM_EXTENSIONS_PATH"] = HOMEBREW_PREFIX/"lib/guile/3.0/extensions"
|
||||
system "guild", "compile", "-o", "#{prefix}/lib/guile/3.0/site-ccache/msg/machine.go", "#{prefix}/share/guile/site/3.0/msg/machine.scm"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue