diff options
author | Anders Papitto <anderspapitto@gmail.com> | 2015-09-08 12:15:41 -0700 |
---|---|---|
committer | Anders Papitto <anderspapitto@gmail.com> | 2015-09-08 14:24:50 -0700 |
commit | 78f7a09e3af902f5c20639c00d72ccd9dd56a55c (patch) | |
tree | e75b8ee771daa6192bd94adc04d3f1bb807e66c8 /pkgs/applications/networking/instant-messengers/bitlbee | |
parent | 207f74eee976330e0d99c969aa729157fab6cb0b (diff) |
bitlbee service: enable plugins
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/bitlbee')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix b/pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix new file mode 100644 index 000000000000..4e05e7cae970 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix @@ -0,0 +1,20 @@ +{ stdenv, bitlbee }: + +with stdenv.lib; + +plugins: + +stdenv.mkDerivation { + inherit bitlbee plugins; + name = "bitlbee-plugins"; + buildInputs = [ bitlbee plugins ]; + phases = [ "installPhase" ]; + installPhase = '' + mkdir -p $out/lib/bitlbee + for plugin in $plugins; do + for thing in $(ls $plugin/lib/bitlbee); do + ln -s $plugin/lib/bitlbee/$thing $out/lib/bitlbee/ + done + done + ''; +} |