Hi,

Reading through the configure scripts in s6, s6-rc, etc., there doesn't seem to
be a way to set the binprefix (results in a definition for S6_BINPREFIX for
example) except by enabling slashpackage.

The Nix package manager is similar to slashpackage in that a given version of
s6 lives within a single directory (e.g. commands can be found in
/nix/store/$hash-s6-$version/bin/s6-*), however it does not follow the
${sproot}/package/${category}/${package}-${version} slashpackage standard
(partly because a "version" is a hash of all build-time and run-time
dependencies).

Nevertheless, it would be nice to be able to specify a binprefix for the Nix
package.  The alternate solution is to use Nix's standard wrappers that can
prepend the binprefix to $PATH before exec'ing one of the s6-* commands. Or
there's always patching the configure script prior to build.

Thoughts?

Thanks,
Patrick

Reply via email to