summary refs log tree commit diff
path: root/pkgs/development/libraries/liblinphone
diff options
context:
space:
mode:
authorJaakko Luttinen <jaakko.luttinen@iki.fi>2020-04-11 15:27:30 +0300
committerJaakko Luttinen <jaakko.luttinen@iki.fi>2020-04-11 15:32:39 +0300
commit93ea5b0d0d466c300f8cc55c90f4c682a6d148e9 (patch)
treeb260cbf6db6ed562026d77025365edb9faf953a5 /pkgs/development/libraries/liblinphone
parent9b0d2f3fd153167b0c8ce84bb71e766a39ed4c9d (diff)
downloadnixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.tar
nixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.tar.gz
nixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.tar.bz2
nixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.tar.lz
nixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.tar.xz
nixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.tar.zst
nixpkgs-93ea5b0d0d466c300f8cc55c90f4c682a6d148e9.zip
liblinphone: fix missing vcard_grammar
Fixes #84488
Diffstat (limited to 'pkgs/development/libraries/liblinphone')
-rw-r--r--pkgs/development/libraries/liblinphone/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/liblinphone/default.nix b/pkgs/development/libraries/liblinphone/default.nix
index c6628e9043c..a0ee8fe0053 100644
--- a/pkgs/development/libraries/liblinphone/default.nix
+++ b/pkgs/development/libraries/liblinphone/default.nix
@@ -140,6 +140,15 @@ stdenv.mkDerivation rec {
     pkgconfig
   ];
 
+  # Some grammar files needed to be copied too from some dependencies. I suppose
+  # if one define a dependency in such a way that its share directory is found,
+  # then this copying would be unnecessary. Instead of actually copying these
+  # files, create a symlink.
+  postInstall = ''
+    mkdir -p $out/share/belr/grammars
+    ln -s ${belcard}/share/belr/grammars/* $out/share/belr/grammars/
+  '';
+
   meta = with stdenv.lib; {
     homepage = "https://www.linphone.org/technical-corner/liblinphone";
     description = "Library for SIP calls and instant messaging";