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

Fix SSH invocation when local SHELL misbehaves #11021

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

roberth
Copy link
Member

@roberth roberth commented Jul 3, 2024

Motivation

Setting it to /bin/sh will make it more predictable when users have their favorite shell in SHELL, which might not behave as expected. For instance, a bad rc file could send something to stdout before our LocalCommand gets to write "started".

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Setting it to /bin/sh will make it more predictable when users have
their favorite shell in SHELL, which might not behave as expected.
For instance, a bad rc file could send something to stdout before
our LocalCommand gets to write "started".

This may help NixOS#11010
@roberth roberth marked this pull request as ready for review August 16, 2024 13:55
@tomberek tomberek merged commit 440de80 into NixOS:master Aug 26, 2024
11 checks passed
Ericson2314 added a commit to siddhantk232/nix that referenced this pull request Aug 26, 2024
Necessary to fix a build (that was already broken in other ways) after
PR NixOS#11021.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-08-26-nix-team-meeting-minutes-172/51300/1

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.

3 participants