* Remove some dead code.
svn path=/nixos/trunk/; revision=26634
This commit is contained in:
parent
c4a2eeb9f8
commit
ef80abc886
1 changed files with 0 additions and 12 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue