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
git-open: init at 1.3.0 #24938
git-open: init at 1.3.0 #24938
Conversation
@jlesquembre, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benley, @MarcWeber and @abbradar to be potential reviewers. |
How does git-open capture the in-store git binary? |
@@ -0,0 +1,29 @@ | |||
{stdenv, git, fetchFromGitHub, ...}: |
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.
Nit: please do not use ...
in package expressions; they should normally declare all required params and nothing more.
@joachifm Thanks for your feedback, I updated the PR to remove the
For even more information: PD: I also updated |
What I mean is, |
homepage = https://github.com/paulirish/git-open; | ||
description = "Open the GitHub page or website for a repository in your browser"; | ||
license = licenses.mit; | ||
platforms = platforms.all; |
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.
Do you want to maintain this package?
@Mic92 sure, it's a command I use regularly, I'll add myself as maintainer @joachifm I think now I understand what you mean. You are right, I added
Right? I'm new to NixOS, so if you see room for improvement, corrections are welcome. |
yes, the fix is correct. |
@jlesquembre LGTM. Since this is a bash script, you could patch the source directly to avoid the indirection, but your solution is pretty standard. I notice that the script also has implicit dependencies on |
@joachifm Thanks again for the feedback, today I learned a lot about nix packages. I added xdg_tools and gnugrep as dependencies, I hope that I didn't miss anything. |
Thanks! |
Motivation for this change
Add git open
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)