3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/deadbeef/wrapper.nix
2016-04-26 15:37:42 +03:00

15 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"
'';
}