1 { lib, skawarePackages, skalibs, execline }:
3 skawarePackages.buildPackage {
6 sha256 = "gA0xIm9sJc3T7AtlJA+AtWzl7BNzQdCo0VTndjjlgQM=";
8 manpages = skawarePackages.buildManPages {
9 pname = "s6-man-pages";
10 version = "2.12.0.2.1";
11 sha256 = "sha256-fFU+cRwXb4SwHsI/r0ghuzCf6hEK/muPPp2XMvD8VtQ=";
12 description = "Port of the documentation for the s6 supervision suite to mdoc";
13 maintainers = [ lib.maintainers.sternenseemann ];
16 description = "skarnet.org's small & secure supervision software suite";
18 # NOTE lib: cannot split lib from bin at the moment,
19 # since some parts of lib depend on executables in bin.
20 # (the `*_startf` functions in `libs6`)
21 outputs = [ /*"bin" "lib"*/ "out" "dev" "doc" ];
25 "--libdir=\${out}/lib"
26 "--libexecdir=\${out}/libexec"
27 "--dynlibdir=\${out}/lib"
28 "--bindir=\${out}/bin"
29 "--includedir=\${dev}/include"
30 "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
31 "--with-include=${skalibs.dev}/include"
32 "--with-include=${execline.dev}/include"
33 "--with-lib=${skalibs.lib}/lib"
34 "--with-lib=${execline.lib}/lib"
35 "--with-dynlib=${skalibs.lib}/lib"
36 "--with-dynlib=${execline.lib}/lib"
40 # remove all s6 executables from build directory
41 rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
43 rm ./libs6auto.a.xyzzy
45 mv doc $doc/share/doc/s6/html
46 mv examples $doc/share/doc/s6/examples