nixpkgs-suyu/pkgs/tools/cd-dvd/brasero/wrapper.nix
2016-04-26 15:37:43 +03:00

15 lines
337 B
Nix

{ lib, symlinkJoin, brasero-original, cdrtools, makeWrapper }:
let
binPath = lib.makeBinPath [ cdrtools ];
in symlinkJoin {
name = "brasero-${brasero-original.version}";
paths = [ brasero-original ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/brasero \
--prefix PATH ':' ${binPath}
'';
}