mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
15 lines
302 B
Nix
15 lines
302 B
Nix
{ symlinkJoin, deadbeef, makeWrapper, plugins }:
|
|
|
|
symlinkJoin {
|
|
name = "deadbeef-with-plugins-${deadbeef.version}";
|
|
|
|
paths = [ deadbeef ] ++ plugins;
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
wrapProgram $out/bin/deadbeef \
|
|
--set DEADBEEF_PLUGIN_DIR "$out/lib/deadbeef"
|
|
'';
|
|
}
|