summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2018-09-12 23:56:03 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-12 23:56:03 +0200
commit61a9463498393cf41986c2c6c7d7203c05777003 (patch)
treeddace6ea6bc6c497a5307942c4df056b1a27f432
parentdecd8199115832e324482b632fce35f2205247b8 (diff)
downloadnixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.tar
nixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.tar.gz
nixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.tar.bz2
nixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.tar.lz
nixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.tar.xz
nixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.tar.zst
nixpkgs-61a9463498393cf41986c2c6c7d7203c05777003.zip
weechatScripts.weechat-matrix-bridge: don't export `olm.lua' as script (#46582)
Loading olm.lua as weechat script with `/script load olm.lua' causes
errors like this:

```
/nix/store/43jbh7yxh8j4gjfzbvpd9clncah5dip1-weechat-matrix-bridge-2018-05-29/lib/ffi.so: undefined symbol: lua_tointeger
```

As `olm.lua' is loaded by `matrix.lua' it doesn't need to be included
manually by the weechat configuration.
-rw-r--r--pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix b/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix
index 1018e46ec62..d2960ae93a9 100644
--- a/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix
+++ b/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
       --replace "__NIX_LIB_PATH__" "$out/lib/?.so"
   '';
 
-  passthru.scripts = [ "olm.lua" "matrix.lua" ];
+  passthru.scripts = [ "matrix.lua" ];
 
   installPhase = ''
     mkdir -p $out/{share,lib}