3
0
Fork 0
forked from mirrors/nixpkgs

add the data for /etc/services. The reasons for this:

* you want to be able to deploy this sort of configuration. Various packages
will not be able to work correctly without this. The GNU C library has a
dependency on this, but we ignore it. glibc will happily build if this file
is missing, but resolving will sometimes fail if this file is not present
(syslog is one example)

* this information is fairly static and changed about once or twice a year.
It is maintained by IANA and cannot really be considered site-specific
configuration.

The package is not made a dependency for glibc, as a change here would
trigger a full recompilation, even though technically speaking it is a
runtime dependency using a fixed format (as dictated by IANA).


svn path=/nixpkgs/trunk/; revision=5004
This commit is contained in:
Armijn Hemel 2006-03-08 18:46:50 +00:00
parent 5c5ba68800
commit b329005d2a
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,4 @@
source $stdenv/setup
ensureDir $out
cp $src $out/services

View file

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "etc-services-1.42";
builder = ./builder.sh;
src = fetchurl {
url = http://losser.labs.cs.uu.nl/~armijn/.nix/services.gz;
md5 = "093dbece9828e5e979081f3722858fb9";
};
}