2006-12-09 03:51:42 +01:00
|
|
|
{stdenv, configFiles}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "etc";
|
|
|
|
|
|
|
|
builder = ./make-etc.sh;
|
|
|
|
|
|
|
|
/* !!! Use toXML. */
|
|
|
|
sources = map (x: x.source) configFiles;
|
|
|
|
targets = map (x: x.target) configFiles;
|
2007-08-16 17:09:06 +02:00
|
|
|
modes = map (x: if x ? mode then x.mode else "symlink") configFiles;
|
2006-12-09 03:51:42 +01:00
|
|
|
}
|