summary refs log tree commit diff
path: root/pkgs/applications/audio/vocal/default.nix
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2021-06-02 22:55:29 +0800
committerfortuneteller2k <lythe1107@gmail.com>2021-06-03 22:41:30 +0800
commit01ef9faecb7e1be1f40f7aac4ebcefa4885d4652 (patch)
tree42a1b0d542382a2c543fafbbe871b4bdf5f8fff9 /pkgs/applications/audio/vocal/default.nix
parentaa9abd33842082a7fe935dacbd88a5780830293e (diff)
downloadnixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.tar
nixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.tar.gz
nixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.tar.bz2
nixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.tar.lz
nixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.tar.xz
nixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.tar.zst
nixpkgs-01ef9faecb7e1be1f40f7aac4ebcefa4885d4652.zip
vocal: fix build
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/audio/vocal/default.nix')
-rw-r--r--pkgs/applications/audio/vocal/default.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/applications/audio/vocal/default.nix b/pkgs/applications/audio/vocal/default.nix
index b91a8e6d50c..f06f950f13f 100644
--- a/pkgs/applications/audio/vocal/default.nix
+++ b/pkgs/applications/audio/vocal/default.nix
@@ -1,5 +1,7 @@
-{ lib, stdenv
+{ lib
+, stdenv
 , fetchFromGitHub
+, fetchpatch
 , nix-update-script
 , cmake
 , ninja
@@ -61,13 +63,22 @@ stdenv.mkDerivation rec {
     glib-networking
   ];
 
+  patches = [
+    # granite 6.0.0 removed about dialogs
+    # see: https://github.com/needle-and-thread/vocal/issues/483
+    (fetchpatch {
+      name = "remove-about.patch";
+      url = "https://raw.githubusercontent.com/archlinux/svntogit-community/03543ffdb6cd52ce1a8293f3303225b3afac2431/trunk/remove-about.patch";
+      sha256 = "sha256-yGD7BYOTmqs4h+Odh/mB3fI1HM7GDO6F+QaHpRUD5p4=";
+    })
+  ];
+
   passthru = {
     updateScript = nix-update-script {
       attrPath = pname;
     };
   };
 
-
   meta = with lib; {
     description = "The podcast client for the modern free desktop";
     longDescription = ''