Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

ghc-executable-path Find out the full path of the executable

The documentation of System.Environment.getProgName says that "However, this is hard-to-impossible to implement on some non-Unix OSes, so instead, for maximum portability, we just return the leafname of the program as invoked." This library tries to provide the missing path.