c4c17a7843
The function for use in setup hooks. The syntax is very simple: add_to_var varName needDir addDir prefix If the directory $prefix$needDir exists, directory $prefix$addDir is added to variable named varName (using PATH_DELIMITER as delimiter). If addDir is "", it defaults to needDir (this is a most common case). svn path=/nixpkgs/trunk/; revision=9496 |
||
---|---|---|
.. | ||
cygwin | ||
darwin | ||
freebsd | ||
generic | ||
initial | ||
linux | ||
mingw | ||
native | ||
nix | ||
common-path.nix | ||
default.nix |