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

Instead of warning newcomers about pitfalls with nix-env, what if we just not mention it all #696

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zupo
Copy link

@zupo zupo commented Oct 18, 2023

And some proof-read / local dev fixes.

@zupo
Copy link
Author

zupo commented Oct 18, 2023

Hey @ncfavier, thanks a ton for maintaining search.nixos.org, it's an absolute gem! I created this PR after hearing a bunch of people complain it's time we really stop showing people to use nix-env, so I went searching where we still do it, and found it here.

I'm perfectly happy removing any and all proof-read / local dev changes, just let me know which!

@SomeoneSerge
Copy link

I think we absolutely should remove nix-env -iA because it's fairly confusing and comes with many unintended consequences. However, we should probably direct users at least somewhere so that they may be able to manage "persistent" Nix package installations on FHS/non-NixOS systems: e.g. the home-manager, or (idk if it actually handles the use-case I think it handles) flox

Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

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

I like the idea but unfortunately this PR has since developed some merge conflicts

Comment on lines +27 to +31
},
proxy: {
'/backend': {target:'http://search.nixos.org/', changeOrigin:true},
}
},
}
Copy link
Member

Choose a reason for hiding this comment

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

is this useful/needed/safe?

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