1
0
Fork 0
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:
Samuel Tam 2024-07-04 22:57:16 +08:00 committed by GitHub
parent d77315a418
commit d8d2a56f96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")