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

                                                     


                                  
                                      
 
                


                                                   
 
{ symlinkJoin, deadbeef, makeWrapper, plugins }:

symlinkJoin {
  name = "deadbeef-with-plugins-${deadbeef.version}";

  paths = [ deadbeef ] ++ plugins;

  nativeBuildInputs = [ makeWrapper ];

  postBuild = ''
    wrapProgram $out/bin/deadbeef \
      --set DEADBEEF_PLUGIN_DIR "$out/lib/deadbeef"
  '';
}