From 44ea6a7e4d2b9de189cabff72bebb43e3e0e269c Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Wed, 16 Feb 2011 10:24:25 +0000
Subject: [PATCH] * Typo.

svn path=/nixos/trunk/; revision=25987
---
 modules/profiles/installation-device.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/profiles/installation-device.nix b/modules/profiles/installation-device.nix
index ccd982c9ce9f..9573b9333202 100644
--- a/modules/profiles/installation-device.nix
+++ b/modules/profiles/installation-device.nix
@@ -5,7 +5,7 @@ with pkgs.lib;
 
 let
   # Location of the repository on the harddrive
-  nixosPath = toString ../../.;
+  nixosPath = toString ../..;
 
   # Check if the path is from the NixOS repository
   isNixOSFile = path:
@@ -20,7 +20,7 @@ let
 
   # Partition module files because between NixOS and non-NixOS files.  NixOS
   # files may change if the repository is updated.
-  partitionnedModuleFiles =
+  partitionedModuleFiles =
     let p = partition isNixOSFile moduleFiles; in
     { nixos = p.right; others = p.wrong; };
 
@@ -32,7 +32,7 @@ let
         "/etc/nixos/nixos" + removePrefix nixosPath (toString path);
       relocateOthers = null;
     in
-      { nixos = map relocateNixOS partitionnedModuleFiles.nixos;
+      { nixos = map relocateNixOS partitionedModuleFiles.nixos;
         others = []; # TODO: copy the modules to the install-device repository.
       };