query
On this page

bitlbee-plugins

pkgs.bitlbee-plugins

Functor
Docs pulled from | This Revision | 29 minutes ago


Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.

Noogle detected

This is a Functor

Learn about functors

Implementation

The following is the current implementation of this function.

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
  ''