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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
308 B
Nix
Raw Normal View History

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