mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
home-manager: update style
Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
This commit is contained in:
parent
d77315a418
commit
d8d2a56f96
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ function setHomeManagerNixPath() {
|
|||
if [[ -n "$path" ]] ; then
|
||||
if [[ -e "$path/flake.nix" ]] ; then
|
||||
# Set FLAKE_ARG if not set by --flake already
|
||||
FLAKE_ARG=${FLAKE_ARG:-$path}
|
||||
: "${FLAKE_ARG:=$path}"
|
||||
fi
|
||||
if [[ -e "$path" || "$path" =~ ^https?:// ]] ; then
|
||||
EXTRA_NIX_PATH+=("home-manager=$path")
|
||||
|
|
Loading…
Reference in a new issue