1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/tools/cd-dvd/brasero/wrapper.nix

16 lines
337 B
Nix
Raw Normal View History

2016-04-26 13:27:59 +01:00
{ lib, symlinkJoin, brasero-original, cdrtools, makeWrapper }:
let
binPath = lib.makeBinPath [ cdrtools ];
2016-04-26 13:27:59 +01:00
in symlinkJoin {
name = "brasero-${brasero-original.version}";
paths = [ brasero-original ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/brasero \
--prefix PATH ':' ${binPath}
'';
}