1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 16:19:44 +01:00

home-manager: ignore errors when creating the profiles path

Fixes #3873
This commit is contained in:
Robert Helgesson 2023-04-14 09:29:06 +02:00
parent fe1e2dee19
commit 8631c04416
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -106,7 +106,7 @@ $VERBOSE_RUN _i "Sanity checking Nix"
nix-build --expr '{}' --no-out-link
# 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
setupVars