* Remove some dead code.

svn path=/nixos/trunk/; revision=26634
This commit is contained in:
Eelco Dolstra 2011-03-31 21:21:55 +00:00
parent c4a2eeb9f8
commit ef80abc886

View File

@ -25,18 +25,6 @@ in
###### implementation
let
copyScript = {source, target, mode ? "644", own ? "root.root"}:
assert target != "nixos";
''
source="${source}"
target="/etc/${target}"
mkdir -p $(dirname "$target")
test -e "$target" && rm -f "$target"
cp "$source" "$target"
chown ${own} "$target"
chmod ${mode} "$target"
'';
etc = pkgs.stdenv.mkDerivation {
name = "etc";