Skip to content

andy0130tw/agda-prebuilt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

agda-prebuilt

Linux (cabal)

Prebuilt, static-linked Agda binary for Linux. Serving as an alternative to official nightly builds. (They provide artifacts, too!)

Usage

Download the artifact either in one of actions pages (requires login!) or in the release page.

Extract the artifact archive. The main executable is ./agda. Execute it with some arbitary file as the first argument and observe its output.

$ ./agda /dev/null
#                       vvvvvvvv HERE vvvvvvvv
agda: The lib directory /usr/local/bin/....../ does not exist
CallStack (from HasCallStack):
  error, called at src/full/Agda/Interaction/Options.hs:1173:8 in Agda-2.6.1-GBHAfzS8PHnCeWrfMQtOCD:Agda.Interaction.Options

You need to extract the /lib folder and copy it to the indicated location.

Note: Due to that the prefix is hardcoded in the program, I have to set it to a system-wide directory /usr/local. You may need root permissions to copy the resources into it.

If you can't manage to do it, an environment variable Agda_datadir is required whenever you want to invoke agda. It should point to the library folder directly (related issue). Maybe I should write a simple wrapper script for this.

Issues

References

About

Prebuilt Agda binary for Linux.

Resources

License

Stars

Watchers

Forks

Packages

No packages published