summary refs log blame commit diff
path: root/pkgs/applications/audio/deadbeef/wrapper.nix
blob: 5b14302204e7f7d77371352b2162b7376d161432 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        
 

                                                     


                                  

                                
                


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