-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
pet: add bash and fish shell completions #399954
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
Conversation
|
Nixpkgs manual has an example of using cross env when it's possible: https://nixos.org/manual/nixpkgs/unstable/#installshellfiles-installshellcompletion-exampleusage-guarded. Maybe use that? |
drupol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello!
Welcome to the Nix project and thanks for the PR.
I added a minor comment.
Regarding the rest, I will check later if a more up to date way is available for the completions.
pkgs/by-name/pe/pet/package.nix
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this and use writableTmpDirAsHomeHook
Is it suggesting that using |
This comment was marked as resolved.
This comment was marked as resolved.
1479720 to
6021a59
Compare
As I'm still learning Nix, I'm confused about why this approach eliminates the need for |
Please ignore my last comment, I have been too quick reviewing this and my comment is wrong. What you did is fine and I'm going to merge it after my local |
|
|
Thank you ! Keep PRs coming :) |
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.