72a0d65d3d
execline: 2.1.4.5 -> 2.2.0.0 s6-dns: 2.0.0.7 -> 2.1.0.0 s6-linux-utils: 2.0.2.3 -> 2.2.0.0 s6-networking: 2.1.0.4 -> 2.2.1.0 s6-portable-utils: 2.1.0.0 -> 2.1.0.0 (no version change) s6-rc: 0.0.2.1 -> 0.1.0.0 s6: 2.2.4.3 -> 2.4.0.0 skalibs: 2.3.9.0 -> 2.4.0.1 Also use new --enable-absolute-paths configure arg to correctly set paths to runtime executables to point within the nix store rather than relying on PATH resolution.
36 lines
918 B
Nix
36 lines
918 B
Nix
{ stdenv, fetchurl, skalibs, gcc }:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "s6-portable-utils-${version}";
|
|
version = "2.1.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.skarnet.org/software/s6-portable-utils/${name}.tar.gz";
|
|
sha256 = "0khw5ljmlghvl4hyrf4vd0hl5rrmsspchi8w4xgniwfip6vlbqfd";
|
|
};
|
|
|
|
dontDisableStatic = true;
|
|
|
|
nativeBuildInputs = []
|
|
++ optional stdenv.isDarwin gcc;
|
|
|
|
configureFlags = [
|
|
"--enable-absolute-paths"
|
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
"--with-include=${skalibs}/include"
|
|
"--with-lib=${skalibs}/lib"
|
|
"--with-dynlib=${skalibs}/lib"
|
|
];
|
|
|
|
|
|
meta = {
|
|
homepage = http://www.skarnet.org/software/s6-portable-utils/;
|
|
description = "A set of tiny general Unix utilities optimized for simplicity and small size";
|
|
platforms = platforms.all;
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ pmahoney ];
|
|
};
|
|
|
|
}
|