summary refs log tree commit diff
path: root/pkgs/applications/misc/calibre
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2020-04-02 11:52:39 +0200
committerTimo Kaufmann <timokau@zoho.com>2020-04-02 11:52:39 +0200
commit3f76ce20111244cb070a9dfe9c3d78939c75cbf2 (patch)
treeda3349412711c755e9ad1dff8395cab5d596c941 /pkgs/applications/misc/calibre
parent9665977f4cca4333add0a061db78daa2b650f0b0 (diff)
downloadnixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.tar
nixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.tar.gz
nixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.tar.bz2
nixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.tar.lz
nixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.tar.xz
nixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.tar.zst
nixpkgs-3f76ce20111244cb070a9dfe9c3d78939c75cbf2.zip
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.
Diffstat (limited to 'pkgs/applications/misc/calibre')
-rw-r--r--pkgs/applications/misc/calibre/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix
index 9701db3c0b7..27819053a3b 100644
--- a/pkgs/applications/misc/calibre/default.nix
+++ b/pkgs/applications/misc/calibre/default.nix
@@ -113,6 +113,7 @@ mkDerivation rec {
   disallowedReferences = [ podofo.dev ];
 
   calibreDesktopItem = makeDesktopItem {
+    fileValidation = false; # fails before substitution
     name = "calibre-gui";
     desktopName = "calibre";
     exec = "@out@/bin/calibre --detach %F";
@@ -159,6 +160,7 @@ mkDerivation rec {
   };
 
   ebookEditDesktopItem = makeDesktopItem {
+    fileValidation = false; # fails before substitution
     name = "calibre-edit-book";
     desktopName = "Edit E-book";
     genericName = "E-book Editor";
@@ -171,6 +173,7 @@ mkDerivation rec {
   };
 
   ebookViewerDesktopItem = makeDesktopItem {
+    fileValidation = false; # fails before substitution
     name = "calibre-ebook-viewer";
     desktopName = "E-book Viewer";
     genericName = "E-book Viewer";