1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-17 08:39:44 +01:00
Commit graph

5 commits

Author SHA1 Message Date
Robert Helgesson
698094b4d6
activation-init: sanity check oldGenNum and oldGenPath
Something is terribly wrong if one is set but not the other so error
out with a message if that happens.

(cherry picked from commit 567b21b1d6)
2018-03-14 17:44:58 +01:00
Robert Helgesson
f7628e2996
home-environment: use nix-env from PATH
It is safest to use the system install of Nix since that will be
compatible with the running nix-daemon and/or databases.

Also add a printout of the used Nix version in the activation script
when running in verbose mode.

Fixes #218.

(cherry picked from commit 19b4002f25)
2018-02-27 20:34:44 +01:00
Cornelius Mika
5c098dc7ad
lib-bash: always print message announcing a dry run 2017-08-21 18:50:21 +02:00
Robert Helgesson
8c7811a213
Credit original source for shell color code 2017-05-14 20:35:13 +02:00
Robert Helgesson
3ee505179f
home-environment: colorize activation output slightly 2017-05-14 16:17:38 +02:00