Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 runCommandLocal, 4 bitlbee, 5}: 6 7plugins: 8runCommandLocal "bitlbee-plugins" 9 { 10 inherit plugins; 11 buildInputs = [ 12 bitlbee 13 plugins 14 ]; 15 } 16 '' 17 mkdir -p $out/lib/bitlbee 18 for plugin in $plugins; do 19 for thing in $(ls $plugin/lib/bitlbee); do 20 ln -s $plugin/lib/bitlbee/$thing $out/lib/bitlbee/ 21 done 22 done 23 ''