2018-07-21 02:44:44 +02:00
|
|
|
{ symlinkJoin, deadbeef, makeWrapper, plugins }:
|
2015-08-17 00:17:53 +02:00
|
|
|
|
2016-04-26 14:26:15 +02:00
|
|
|
symlinkJoin {
|
|
|
|
name = "deadbeef-with-plugins-${deadbeef.version}";
|
2015-08-17 00:17:53 +02:00
|
|
|
|
|
|
|
paths = [ deadbeef ] ++ plugins;
|
|
|
|
|
2016-04-26 14:26:15 +02:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
2015-08-17 00:17:53 +02:00
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/deadbeef \
|
|
|
|
--set DEADBEEF_PLUGIN_DIR "$out/lib/deadbeef"
|
|
|
|
'';
|
2016-04-26 14:26:15 +02:00
|
|
|
}
|