mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
16 lines
333 B
Nix
16 lines
333 B
Nix
{ lib, runCommandLocal, bitlbee }:
|
|
|
|
with lib;
|
|
|
|
plugins: runCommandLocal "bitlbee-plugins" {
|
|
inherit plugins;
|
|
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/
|
|
done
|
|
done
|
|
''
|