mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 16:46:09 +00:00
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;
|
|
}
|