[PR #27] [MERGED] fix: environment variables missed in nushell #71

Closed
opened 2025-12-28 23:19:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ryan4yin/nix-config/pull/27
Author: @ryan4yin
Created: 12/7/2023
Status: Merged
Merged: 12/7/2023
Merged by: @ryan4yin

Base: mainHead: fix-nushell-neovim


📝 Commits (1)

  • 9f59301 fix: environment variables missed in nushell

📊 Changes

6 files changed (+30 additions, -59 deletions)

View changed files

📝 home/base/desktop/terminal/alacritty.nix (+10 -2)
📝 home/base/desktop/terminal/kitty.nix (+13 -17)
📝 home/base/desktop/terminal/wezterm.nix (+7 -11)
📝 home/base/server/nushell/default.nix (+0 -10)
📝 home/darwin/default.nix (+0 -1)
home/darwin/nushell.nix (+0 -18)

📄 Description

Fixed by spawn nushell via:

"${pkgs.bash}/bin/bash --login -c 'nu --login --interactive'"

so that nushell can inherit all the environment variables in a login bash session.

Related to:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ryan4yin/nix-config/pull/27 **Author:** [@ryan4yin](https://github.com/ryan4yin) **Created:** 12/7/2023 **Status:** ✅ Merged **Merged:** 12/7/2023 **Merged by:** [@ryan4yin](https://github.com/ryan4yin) **Base:** `main` ← **Head:** `fix-nushell-neovim` --- ### 📝 Commits (1) - [`9f59301`](https://github.com/ryan4yin/nix-config/commit/9f59301a0efe205b7095639f5982e7585f45925d) fix: environment variables missed in nushell ### 📊 Changes **6 files changed** (+30 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `home/base/desktop/terminal/alacritty.nix` (+10 -2) 📝 `home/base/desktop/terminal/kitty.nix` (+13 -17) 📝 `home/base/desktop/terminal/wezterm.nix` (+7 -11) 📝 `home/base/server/nushell/default.nix` (+0 -10) 📝 `home/darwin/default.nix` (+0 -1) ➖ `home/darwin/nushell.nix` (+0 -18) </details> ### 📄 Description Fixed by spawn nushell via: ``` "${pkgs.bash}/bin/bash --login -c 'nu --login --interactive'" ``` so that nushell can inherit all the environment variables in a login bash session. Related to: * https://github.com/ryan4yin/nix-config/issues/26 * https://github.com/ryan4yin/nix-config/issues/8 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-28 23:19:10 +01:00
adam closed this issue 2025-12-28 23:19:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/nix-config#71