3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix

16 lines
333 B
Nix
Raw Normal View History

{ 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
plugins: runCommandLocal "bitlbee-plugins" {
inherit plugins;
2015-09-08 20:15:41 +01:00
buildInputs = [ bitlbee plugins ];
} ''
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
done
''