Author: eelco
Date: Thu Mar 31 21:21:55 2011
New Revision: 26634
URL: https://svn.nixos.org/websvn/nix/?rev=26634&sc=1
Log:
* Remove some dead code.
Modified:
nixos/trunk/modules/system/etc/etc.nix
Modified: nixos/trunk/modules/system/etc/etc.nix
==============================================================================
--- nixos/trunk/modules/system/etc/etc.nix Thu Mar 31 21:19:39 2011
(r26633)
+++ nixos/trunk/modules/system/etc/etc.nix Thu Mar 31 21:21:55 2011
(r26634)
@@ -25,18 +25,6 @@
###### 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";
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits