mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
14 lines
310 B
Nix
14 lines
310 B
Nix
{ stdenv, 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"
|
|
'';
|
|
}
|