BSD Ports

wip/hs-executable-path 0.0.3 NetBSD

Finding out the full path of the executable

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
public-domain
Categories
wip, devel

Description

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.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/hs-executable-path && make install clean

Dependencies

Required by 1