Rename environment.nix -> nix.package

This commit is contained in:
Eelco Dolstra
2013-10-28 16:28:04 +01:00
parent 44d6d88739
commit 259f7a93b1
13 changed files with 28 additions and 27 deletions

View File

@@ -329,7 +329,7 @@ in
boot.postBootCommands =
''
if [[ "$(cat /proc/cmdline)" =~ regInfo=([^ ]*) ]]; then
${config.environment.nix}/bin/nix-store --load-db < ''${BASH_REMATCH[1]}
${config.nix.package}/bin/nix-store --load-db < ''${BASH_REMATCH[1]}
fi
'';