* Typo.
svn path=/nixos/trunk/; revision=25987
This commit is contained in:
parent
32aa967ee1
commit
44ea6a7e4d
@ -5,7 +5,7 @@ with pkgs.lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
# Location of the repository on the harddrive
|
# Location of the repository on the harddrive
|
||||||
nixosPath = toString ../../.;
|
nixosPath = toString ../..;
|
||||||
|
|
||||||
# Check if the path is from the NixOS repository
|
# Check if the path is from the NixOS repository
|
||||||
isNixOSFile = path:
|
isNixOSFile = path:
|
||||||
@ -20,7 +20,7 @@ let
|
|||||||
|
|
||||||
# Partition module files because between NixOS and non-NixOS files. NixOS
|
# Partition module files because between NixOS and non-NixOS files. NixOS
|
||||||
# files may change if the repository is updated.
|
# files may change if the repository is updated.
|
||||||
partitionnedModuleFiles =
|
partitionedModuleFiles =
|
||||||
let p = partition isNixOSFile moduleFiles; in
|
let p = partition isNixOSFile moduleFiles; in
|
||||||
{ nixos = p.right; others = p.wrong; };
|
{ nixos = p.right; others = p.wrong; };
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ let
|
|||||||
"/etc/nixos/nixos" + removePrefix nixosPath (toString path);
|
"/etc/nixos/nixos" + removePrefix nixosPath (toString path);
|
||||||
relocateOthers = null;
|
relocateOthers = null;
|
||||||
in
|
in
|
||||||
{ nixos = map relocateNixOS partitionnedModuleFiles.nixos;
|
{ nixos = map relocateNixOS partitionedModuleFiles.nixos;
|
||||||
others = []; # TODO: copy the modules to the install-device repository.
|
others = []; # TODO: copy the modules to the install-device repository.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user