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:
parent
dcfd70f80f
commit
d0300c8808
1 changed files with 1 additions and 2 deletions
|
|
@ -175,8 +175,7 @@ in
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
| merge ($env.ENV_CONVERSIONS? | default {})
|
| merge ($env.ENV_CONVERSIONS? | default {})
|
||||||
| get ([[value, optional, insensitive]; [$key, true, true]] | into cell-path)
|
| get ([[value, optional, insensitive]; [$key, true, true] [from_string, true, false]] | into cell-path)
|
||||||
| get from_string?
|
|
||||||
| if ($in | is-empty) { {|x| $x} } else { $in }
|
| if ($in | is-empty) { {|x| $x} } else { $in }
|
||||||
) $value
|
) $value
|
||||||
return [ $key $value ]
|
return [ $key $value ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue