Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force use of bash to allow for non-posix user shells #177

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

adamcstephens
Copy link
Contributor

@adamcstephens adamcstephens commented Aug 13, 2023

I use fish, but the current command will likely fail with nushell and others. Make the bash call explicit to avoid failures such as:

fish: Unsupported use of '='. In fish, please use 'set is_nixos $(if test -f /etc/os-release && grep -q ID=nixos /etc/os-release; then echo "y"; else echo "n"; fi)'.

Ideally this would be handled in _ssh, but there are some sporadic args for ssh in some of the calls. A quick perusal looked like they were just connection timeout options, which I'm wondering if we can move into _ssh. If this was done, then all calls could pass through bash. For now I've targeted the steps that require posix/bashisms.

@adamcstephens adamcstephens marked this pull request as draft August 13, 2023 20:29
@adamcstephens adamcstephens marked this pull request as ready for review August 13, 2023 21:16
@Mic92
Copy link
Member

Mic92 commented Aug 28, 2023

@mergify rebase

@mergify
Copy link
Contributor

mergify bot commented Aug 28, 2023

rebase

✅ Branch has been successfully rebased

@adamcstephens
Copy link
Contributor Author

@mergify rebase

@mergify
Copy link
Contributor

mergify bot commented Aug 28, 2023

rebase

❌ Unable to rebase: user adamcstephens is unknown.

Please make sure adamcstephens has logged in Mergify dashboard.

@Mic92
Copy link
Member

Mic92 commented Aug 28, 2023

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Aug 28, 2023

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 2e1bf86

@mergify mergify bot merged commit 2e1bf86 into nix-community:main Aug 28, 2023
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants