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
wezterm: initial package #104704
wezterm: initial package #104704
Conversation
Please change your commit message that it fits the contributing guide https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#submitting-changes |
owner = "wez"; | ||
repo = pname; | ||
rev = "${version}"; | ||
fetchSubmodules = true; |
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.
I would prefer it if we would use the system libraries instead of the vendored ones.
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.
Assuming that your goal is to remove this line entirely I think this isn't easily possible. The submodule paths are referenced unconditionally, e.g. here:
# license = licenses.angle; | ||
maintainers = with maintainers; [ ]; |
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.
# license = licenses.angle; | |
maintainers = with maintainers; [ ]; | |
license = licenses.angle; | |
maintainers = with maintainers; [ steveeJ ]; |
Please add the license to nixpkgs and yourself as a maintainer.
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.
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.
Does this mean we need multiple licenses here, or is MIT fine?
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.
I would just add all three licenses but I am not 100% sure.
buildInputs = runtimeDeps; | ||
|
||
installPhase = '' | ||
for artifact in wezterm wezterm-gui wezterm-mux-server strip-ansi-escapes; do |
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.
I don't know how/if all these translate to nixos, but if you look at the rpm spec generation here:
https://github.com/wez/wezterm/blob/master/ci/deploy.sh#L84-L106
there are a couple of additional artifacts to deploy for linux:
- The
.desktop
file and icon - The
/etc/profile.d
shell integration scripts
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.
Thanks @wez. I added the install instructions although I'm not sure how to verify any of them. Maybe someone else jumps in or we can fix it up subsequently.
# license = licenses.angle; | ||
maintainers = with maintainers; [ ]; |
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.
|
9ea9fd2
to
b0261d4
Compare
2814e35
to
a2b48e5
Compare
a2b48e5
to
39f1563
Compare
Hello, @steveej can you please not use force push when changing your PR? By making multiple commits it allows us, reader of the PR to see what changes you did on each update. |
@bew I'm quite surprised about that request. I typically use |
Result of 1 package built:
|
@steveej I apprecaite when commits stack on top of eachother because then we only have to inspect the more recent commits. we can squash from github ui at the end. Tested locally and it worked fine. |
Ah, I totally wanted to squash as I wasn't very comfortable not cleaning up the git history in the first place; but now you just merged! Also, I was preparing some changes locally still today that I hadn't pushed. Well, I'll create another PR to add them. |
sorry my fault. I had planned to squash them as my previous comment mentioned but clicked a bit too fast. It was only one |
Motivation for this change
Closes #90696.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)