mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
16 lines
337 B
Nix
16 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}
|
|
'';
|
|
}
|