git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit3f76ce20111244cb070a9dfe9c3d78939c75cbf2 authorTimo Kaufmann <timokau@zoho.com> dateThu 2 Apr 2020, 11:52 (7 years ago) parent9665977
1 file changed+3
pkgs/applications/misc/calibre/default.nix+3
pkgs/applications/misc/calibre/default.nix+3
@@ -113,6 +113,7 @@ mkDerivation rec {
113113 disallowedReferences = [ podofo.dev ];
114114
115115 calibreDesktopItem = makeDesktopItem {
116+ fileValidation = false; # fails before substitution
116117 name = "calibre-gui";
117118 desktopName = "calibre";
118119 exec = "@out@/bin/calibre --detach %F";
@@ -159,6 +160,7 @@ mkDerivation rec {
159160 };
160161
161162 ebookEditDesktopItem = makeDesktopItem {
163+ fileValidation = false; # fails before substitution
162164 name = "calibre-edit-book";
163165 desktopName = "Edit E-book";
164166 genericName = "E-book Editor";
@@ -171,6 +173,7 @@ mkDerivation rec {
171173 };
172174
173175 ebookViewerDesktopItem = makeDesktopItem {
176+ fileValidation = false; # fails before substitution
174177 name = "calibre-ebook-viewer";
175178 desktopName = "E-book Viewer";
176179 genericName = "E-book Viewer";