nixpkgs/pkgs/applications/audio/deadbeef/wrapper.nix

15 lines
310 B
Nix
Raw Normal View History

2016-04-26 14:26:15 +02:00
{ stdenv, symlinkJoin, deadbeef, makeWrapper, plugins }:
2016-04-26 14:26:15 +02:00
symlinkJoin {
name = "deadbeef-with-plugins-${deadbeef.version}";
paths = [ deadbeef ] ++ plugins;
2016-04-26 14:26:15 +02:00
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/deadbeef \
--set DEADBEEF_PLUGIN_DIR "$out/lib/deadbeef"
'';
2016-04-26 14:26:15 +02:00
}