3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/cd-dvd/brasero/wrapper.nix
2018-08-05 16:06:55 +02:00

18 lines
375 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}
'';
inherit (brasero-original) meta;
}