summary refs log tree commit diff
path: root/pkgs/applications/audio/deadbeef/wrapper.nix
blob: cd45ef5926b07621cb0ca94c4162e94cea153889 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ 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"
  '';
}