mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-14 22:04:27 +01:00
f049c35a86
svn path=/nixos/trunk/; revision=7290
10 lines
232 B
Bash
10 lines
232 B
Bash
source $stdenv/setup
|
|
|
|
ensureDir $out/etc
|
|
|
|
sources_=($sources)
|
|
targets_=($targets)
|
|
for ((i = 0; i < ${#targets_[@]}; i++)); do
|
|
ensureDir $out/etc/$(dirname ${targets_[$i]})
|
|
ln -s ${sources_[$i]} $out/etc/${targets_[$i]}
|
|
done
|