Set binprefix when not using slashpackage

From: Patrick Mahoney <>
Date: Mon, 1 Aug 2016 22:46:00 -0500


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

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.


Received on Tue Aug 02 2016 - 03:46:00 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC