3c84d56273
svn path=/nixos/branches/modular-nixos/; revision=15767
13 lines
273 B
Nix
13 lines
273 B
Nix
{stdenv, configFiles}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "etc";
|
|
|
|
builder = ./make-etc.sh;
|
|
|
|
/* !!! Use toXML. */
|
|
sources = map (x: x.source) configFiles;
|
|
targets = map (x: x.target) configFiles;
|
|
modes = map (x: if x ? mode then x.mode else "symlink") configFiles;
|
|
}
|