home-manager: ignore errors when creating the profiles path
Fixes #3873
This commit is contained in:
parent
fe1e2dee19
commit
8631c04416
|
@ -106,7 +106,7 @@ $VERBOSE_RUN _i "Sanity checking Nix"
|
||||||
nix-build --expr '{}' --no-out-link
|
nix-build --expr '{}' --no-out-link
|
||||||
|
|
||||||
# Also make sure that the Nix profiles path is created.
|
# Also make sure that the Nix profiles path is created.
|
||||||
nix-env -q > /dev/null 2>&1
|
nix-env -q > /dev/null 2>&1 || true
|
||||||
|
|
||||||
migrateProfile
|
migrateProfile
|
||||||
setupVars
|
setupVars
|
||||||
|
|
Loading…
Reference in a new issue