2006-12-09 02:51:42 +00: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 16:09:06 +01:00
|
|
|
modes = map (x: if x ? mode then x.mode else "symlink") configFiles;
|
2006-12-09 02:51:42 +00:00
|
|
|
}
|