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

Make --top-level the default behavior of nix-locate #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ma27
Copy link
Member

@Ma27 Ma27 commented Feb 24, 2024

It happens pretty often to me that I'm trying to find out which packages contain a certain header file (e.g. unistd.h). In those cases I usually don't care at all about which e.g. FHS env has this header as well.

I can't remember a single time where this was actually helpful, so I'm questioning whether this is a sensible default. I'll use this patch in my own setup for now, but I thought I could suggest it here as well.

cc @RaitoBezarius @figsoda @bennofs

It happens pretty often to me that I'm trying to find out which packages
contain a certain header file (e.g. `unistd.h`). In those cases I
usually don't care at all about which e.g. FHS env has this header as
well.

I can't remember a single time where this was actually helpful, so I'm
questioning whether this is a sensible default. I'll use this patch in
my own setup for now, but I thought I could suggest it here as well.
@Ma27
Copy link
Member Author

Ma27 commented May 27, 2024

Rebased onto latest master now.
Friendly ping @K900 @RaitoBezarius

Copy link
Contributor

@K900 K900 left a comment

Choose a reason for hiding this comment

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

LGTM

@doronbehar
Copy link
Contributor

Looks good to me ! Waiting for this to get in...

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