mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
15 lines
308 B
Nix
15 lines
308 B
Nix
{ symlinkJoin, deadbeef, makeWrapper, plugins }:
|
|
|
|
symlinkJoin {
|
|
name = "deadbeef-with-plugins-${deadbeef.version}";
|
|
|
|
paths = [ deadbeef ] ++ plugins;
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
wrapProgram $out/bin/deadbeef \
|
|
--set DEADBEEF_PLUGIN_DIR "$out/lib/deadbeef"
|
|
'';
|
|
}
|