mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
16 lines
317 B
Nix
16 lines
317 B
Nix
{ lib, symlinkJoin, k3b-original, cdrtools, makeWrapper }:
|
|
|
|
let
|
|
binPath = lib.makeBinPath [ cdrtools ];
|
|
in symlinkJoin {
|
|
name = "k3b-${k3b-original.version}";
|
|
|
|
paths = [ k3b-original ];
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
wrapProgram $out/bin/k3b \
|
|
--prefix PATH ':' ${binPath}
|
|
'';
|
|
}
|