3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/s6-rc/default.nix
Alyssa Ross c08246b70a s6-rc: 0.5.2.1 -> 0.5.2.2
• skalibs dependency bumped to 2.10.0.3.
• execline dependency bumped to 2.8.0.1.
• s6 dependency bumped to 2.10.0.3.
2021-06-16 07:59:51 +00:00

43 lines
1.1 KiB
Nix

{ lib, skawarePackages }:
with skawarePackages;
buildPackage {
pname = "s6-rc";
version = "0.5.2.2";
sha256 = "12bzc483jpd16xmhfsfrib84daj1k3kwy5s5nc18ap60apa1r39a";
description = "A service manager for s6-based systems";
platforms = lib.platforms.linux;
outputs = [ "bin" "lib" "dev" "doc" "out" ];
configureFlags = [
"--libdir=\${lib}/lib"
"--libexecdir=\${lib}/libexec"
"--dynlibdir=\${lib}/lib"
"--bindir=\${bin}/bin"
"--includedir=\${dev}/include"
"--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
"--with-include=${skalibs.dev}/include"
"--with-include=${execline.dev}/include"
"--with-include=${s6.dev}/include"
"--with-lib=${skalibs.lib}/lib"
"--with-lib=${execline.lib}/lib"
"--with-lib=${s6.out}/lib"
"--with-dynlib=${skalibs.lib}/lib"
"--with-dynlib=${execline.lib}/lib"
"--with-dynlib=${s6.out}/lib"
];
postInstall = ''
# remove all s6 executables from build directory
rm $(find -name "s6-rc-*" -type f -mindepth 1 -maxdepth 1 -executable)
rm s6-rc libs6rc.*
mv doc $doc/share/doc/s6-rc/html
mv examples $doc/share/doc/s6-rc/examples
'';
}