mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 16:40:12 +00:00
calibre: fix build of desktop items
Broken by https://github.com/NixOS/nixpkgs/pull/75729 since the desktop items are only valid after post-processing. There's probably multiple better ways to do this, but I'm not a calibre maintainer and I just want to get this unbroken as quickly as possible.
This commit is contained in:
parent
9665977f4c
commit
3f76ce2011
|
@ -113,6 +113,7 @@ mkDerivation rec {
|
||||||
disallowedReferences = [ podofo.dev ];
|
disallowedReferences = [ podofo.dev ];
|
||||||
|
|
||||||
calibreDesktopItem = makeDesktopItem {
|
calibreDesktopItem = makeDesktopItem {
|
||||||
|
fileValidation = false; # fails before substitution
|
||||||
name = "calibre-gui";
|
name = "calibre-gui";
|
||||||
desktopName = "calibre";
|
desktopName = "calibre";
|
||||||
exec = "@out@/bin/calibre --detach %F";
|
exec = "@out@/bin/calibre --detach %F";
|
||||||
|
@ -159,6 +160,7 @@ mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
ebookEditDesktopItem = makeDesktopItem {
|
ebookEditDesktopItem = makeDesktopItem {
|
||||||
|
fileValidation = false; # fails before substitution
|
||||||
name = "calibre-edit-book";
|
name = "calibre-edit-book";
|
||||||
desktopName = "Edit E-book";
|
desktopName = "Edit E-book";
|
||||||
genericName = "E-book Editor";
|
genericName = "E-book Editor";
|
||||||
|
@ -171,6 +173,7 @@ mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
ebookViewerDesktopItem = makeDesktopItem {
|
ebookViewerDesktopItem = makeDesktopItem {
|
||||||
|
fileValidation = false; # fails before substitution
|
||||||
name = "calibre-ebook-viewer";
|
name = "calibre-ebook-viewer";
|
||||||
desktopName = "E-book Viewer";
|
desktopName = "E-book Viewer";
|
||||||
genericName = "E-book Viewer";
|
genericName = "E-book Viewer";
|
||||||
|
|
Loading…
Reference in a new issue