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

nix develop: save XDG_DATA_DIRS for loadable completion #6702

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

ncfavier
Copy link
Member

Fixes #6091, at least for me

Copy link
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm that this is the correct mechanism for fixing the problem, as author of the completion support in stdenv-based nix-shells.

Sorely needed as well; I've been avoiding nix develop because of this problem.

I have no opinion on the C++ details.

@edolstra edolstra merged commit 4248174 into NixOS:master Jun 29, 2022
@ncfavier ncfavier deleted the develop-prepend-vars branch June 29, 2022 12:49
@nixos-discourse
Copy link

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

https://discourse.nixos.org/t/confusion-about-bash-completions-flake-related/14579/17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Bash completion broken after running nix develop
5 participants