2021-08-19 23:48:35 +01:00
|
|
|
{ lib, runCommandLocal, bitlbee }:
|
2015-09-08 20:15:41 +01:00
|
|
|
|
2021-01-15 05:42:41 +00:00
|
|
|
with lib;
|
2015-09-08 20:15:41 +01:00
|
|
|
|
2021-08-19 23:48:35 +01:00
|
|
|
plugins: runCommandLocal "bitlbee-plugins" {
|
|
|
|
inherit plugins;
|
2015-09-08 20:15:41 +01:00
|
|
|
buildInputs = [ bitlbee plugins ];
|
2021-08-19 23:48:35 +01:00
|
|
|
} ''
|
|
|
|
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/
|
2015-09-08 20:15:41 +01:00
|
|
|
done
|
2021-08-19 23:48:35 +01:00
|
|
|
done
|
|
|
|
''
|