-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
visualvm: 1.3.9 -> 1.4 #39095
visualvm: 1.3.9 -> 1.4 #39095
Conversation
|
||
src = fetchzip { | ||
url = "https://github.com/visualvm/visualvm.src/releases/download/1.3.9/visualvm_139.zip"; | ||
sha256 = "1gkdkxssh51jczhgv680i42jjrlia1vbpcqhxvf45xcq9xj95bm5"; | ||
url = "https://github.com/visualvm/visualvm.src/releases/download/1.4/visualvm_14.zip"; |
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.
Not a blocker but you could attempt to re-use the version
attribute here to simplify bumps. It seems you could simply remove the dots in the version string for the archive basename.
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.
Ok I will try it out.
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.
You know I just realized that I am only changing the url. How do I remove the sources from the nix store to ensure the url actually works when I run nix-build?
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.
The quick way is to just perturb the hash while you're trying things out ... or maybe use nix-prefetch-url -A ...
which should ensure the fetcher actually runs. Anyway, this is not all that important, so I'd be happy to integrate this as-is,. the version string reuse can be iterated upon later.
@GrahamcOfBorg build visualvm |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: visualvm Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: visualvm Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: visualvm Partial log (click to expand)
|
}; | ||
|
||
desktopItem = makeDesktopItem { | ||
name = "visualvm"; |
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.
Any ideas on how to add the icon? There is an icon located at etc/visualvm.icns. Is it ok to just set icon to that location?
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'm just wondering if an icns file is ok or does it need to be a png?
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.
Per https://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html the supported formats are png, xpm, and svg.
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 can't find a png file in the source. Would it be bad to convert the image to png using image magick?
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.
No idea, sorry
@GrahamcOfBorg build visualvm |
Success on x86_64-darwin (full log) Attempted: visualvm Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: visualvm Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: visualvm Partial log (click to expand)
|
Thank you |
Motivation for this change
update version
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)