-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
jellyfin-tui: init at v1.0.5 #374176
base: master
Are you sure you want to change the base?
jellyfin-tui: init at v1.0.5 #374176
Conversation
Hey. Thank you for contributing ❤️
|
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "jellyfin-tui"; | ||
version = "v1.0.5"; |
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 not use v
here. Use it only in the fetcher.
version = "v1.0.5"; | |
version = "1.0.5"; |
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.
Removed the v from version and concatenated v with version in the fetcher itself, not sure if that's the proper way to do it though.
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.
That is exactly it. Sorry, I should have clarified. Only, string interpolation is easier to type and much more concise.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/5110 |
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.
We are nearly there. Looking good.
Also, when you are done, squash all the commits into the initial one with init at
.
And ideally, drop the v
from version in the commit message and the PR title.
GKHWB = { | ||
github = "GKHWB"; | ||
githubId = 68881230; | ||
name = "GKHWB"; | ||
}; |
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.
Suggestion, not necessary: When we are at it, would you be OK with adding some additional means of contacting you? Matrix, email? It is easier when it is needed than GitHub.
tag = lib.strings.concatStrings [ | ||
"v" | ||
version | ||
]; |
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.
tag = lib.strings.concatStrings [ | |
"v" | |
version | |
]; | |
tag = "v${version}"; |
Use string interpolation. It is much more concise.
|
||
passthru.updateScript = nix-update-script { }; | ||
|
||
meta = { |
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.
Since this is an application, add meta.mainProgram
attribute.
|
https://github.com/dhonus/jellyfin-tui
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.