1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

direnv: fix broken nushell integration (#7498)

This commit is contained in:
Joaquín Triñanes 2025-07-18 07:00:04 +02:00 committed by GitHub
parent dcfd70f80f
commit d0300c8808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,8 +175,7 @@ in
}
}
| merge ($env.ENV_CONVERSIONS? | default {})
| get ([[value, optional, insensitive]; [$key, true, true]] | into cell-path)
| get from_string?
| get ([[value, optional, insensitive]; [$key, true, true] [from_string, true, false]] | into cell-path)
| if ($in | is-empty) { {|x| $x} } else { $in }
) $value
return [ $key $value ]