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
[RDY] apvlv: add .desktop file #48095
Conversation
Success on x86_64-linux (full log) Attempted: apvlv Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: apvlv Partial log (click to expand)
|
What's [RDY]? |
@@ -52,6 +52,11 @@ stdenv.mkDerivation rec { | |||
mkdir -p $out/share/doc/apvlv/ | |||
cp ../Startup.pdf $out/share/doc/apvlv/Startup.pdf | |||
cp ../main_menubar.glade $out/share/doc/apvlv/main_menubar.glade | |||
'' | |||
+ stdenv.lib.optionalString (!stdenv.isDarwin) '' | |||
# copy and patch the original apvlv.desktop file |
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 mention patching, but I don't see any (explicit) patching here?
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 pushed an update with a more elegant "install -D"
It's a convention used by some projects, for instance neovim has a bot that classifes PRs based on this targ https://github.com/neovim/neovim/pulls . RDY => ready, RFC> request for comment, WIP=work in progress. |
Success on x86_64-linux (full log) Attempted: apvlv Partial log (click to expand)
|
ty |
Success on aarch64-linux (full log) Attempted: apvlv Partial log (click to expand)
|
Motivation for this change
While waiting for zathura synctex fixes to be in nixos-unstable, I switched to apvlv but as there is no .desktop, I had no default pdf applications.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)