-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
polar-bookshelf: 1.0.11 -> 1.0.13 #50238
Conversation
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.
Your pr title is an acceptable commit msg according to the Contribution Guidelines.
While Bump version from 1.0.11 to 1.0.13
is not.
@GrahamcOfBorg build polar-bookshelf |
Success on aarch64-linux (full log) Attempted: polar-bookshelf Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: polar-bookshelf Partial log (click to expand)
|
Currently the desktop files
Which is a non-existent path. This can be patched easily within the diff --git a/pkgs/applications/misc/polar-bookshelf/default.nix b/pkgs/applications/misc/polar-bookshelf/default.nix
index 445dd84c707..cf5dd679f68 100644
--- a/pkgs/applications/misc/polar-bookshelf/default.nix
+++ b/pkgs/applications/misc/polar-bookshelf/default.nix
@@ -70,6 +70,10 @@ stdenv.mkDerivation rec {
mv usr/share/* $out/share/
ln -s $out/share/polar-bookshelf/polar-bookshelf $out/bin/polar-bookshelf
+
+ # Correct desktop file `Exec`
+ substituteInPlace $out/share/applications/polar-bookshelf.desktop \
+ --replace "/opt/Polar Bookshelf/polar-bookshelf" "$out/bin/polar-bookshelf"
'';
preFixup = '' Other than that the binary executes properly. |
f3f25af
to
db93256
Compare
@GrahamcOfBorg build polar-bookshelf |
Success on aarch64-linux (full log) Attempted: polar-bookshelf Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: polar-bookshelf Partial log (click to expand)
|
Does the desktop file require a backport? |
@Mic92 no |
Motivation for this change
https://github.com/burtonator/polar-bookshelf/releases/tag/v1.0.13
Changelog:
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)